LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unstalling packages (https://www.linuxquestions.org/questions/linux-newbie-8/unstalling-packages-261454/)

dr_zayus69 12-01-2004 04:09 PM

unstalling packages
 
how do you unstall a program when you don't want it any more. Is it a different uninstall process if it is install from a rpm or from a source? To unstall from source do you have to do something like unmake install, make unistall, etc. thanks for any info

linux_terror 12-01-2004 04:25 PM

to uninstall an rpm you can search for the package in the rpm datbase to get the package i.e-if you want to unistall xmms you would
Code:

rpm -qa|grep xmms
which should give you output such as

xmms-1.2.9-4mdk

then to uninstall

Code:

rpm -e xmms-1.2.9-4mdk
almost certainly you will run into programs that have dependencies so you would uninstall the base program and dependencies at the same time by adding the dependent rpm's to the line. i.e
Code:

rpm -e xmms-1.2.9-4mdk dependency1 dependency2
where depency1 and dependency2 are the dependent packages.

linux_terror

reddazz 12-01-2004 04:27 PM

usually it's "make uninstall" as root for source packages. Packages differ, so always read the INSTALL or README files coz they can give you important info on installation and deinstallation of packages. For RPM's it's "rpm -e packagename.rpm".

It seems I was beaten to the answer ;-)

linux_terror 12-01-2004 04:31 PM

LOL reddazz :P heehee.


All times are GMT -5. The time now is 02:54 PM.