Remove Software Packages for RPM-Based Distributions


rpm -e [package]

Getting rid of installed RPMs is even easier than installing them. Instead of -Uhv to place RPMs on your computer, use -e (for erase) to remove them.

# rpm -e nmap 


And that's it. The -e option is silent, so there's no output. Notice, however, that when you install software using rpm -Uhv, you need to specify the filename, otherwise rpm has no way to know what you want to install. When you remove software with rpm -e, however, you specify the package name because the files used for installation are now long gone, and rpm knows software by the package name.



Linux Phrasebook
Linux Phrasebook
ISBN: 0672328380
EAN: 2147483647
Year: 2007
Pages: 288

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net