Questo contenuto non è disponibile nella lingua selezionata.
12.2.3. Uninstalling
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 name
foo
, not the name of the original package file foo-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.