Uninstalling RMP

Uninstalling a package is just as simple as installing one. Type the following
command at a shell prompt:
  • rpm -e foo
Note

Notice that we used the package namefoo, not the name of the original package
filefoo-1.0-1.i386.rpm. To uninstall a package, replace foo with the actual
package name of the original package.

You can encounter a dependency error when uninstalling a package if another
installed package depends on the one you are trying to remove. For example:


error: Failed dependencies: foo is needed by (installed)
bar-2.0.20-3.i386.rpm

To make RPM ignore this error and uninstall the package anyway (which may
break the package dependent on it) use the --nodeps option.

Comments

Popular posts from this blog

A-Z Index of the Apple OS X command line

Partitioning Your System

Conflicting Files