Click to See Complete Forum and Search --> : RPM uninstall command line


Once-Ler
03-15-2001, 01:55 PM
How do i uninstall RPMS from the command line? Is there a program to do this?

Thank you for your help.
-Will

fancypiper
03-15-2001, 02:04 PM
From man rpm

rpm -e <package_name>

UNINSTALL OPTIONS
The general form of an rpm uninstall command is

rpm -e <package_name>+

--allmatches
Remove all versions of the package which match
<package_name>. Normally an error is issued if
<package_name> matches multiple packages.

--noscripts
Don't execute the preuninstall or postuninstall
scripts.

--notriggers
Don't execute scripts which are triggered by the
removal of this package.

--nodeps
Don't check dependencies before uninstalling the
packages.

--test Don't really uninstall anything, just go through
the motions. Useful in conjunction with the -vv
option.