LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2004, 05:09 PM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
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
 
Old 12-01-2004, 05:25 PM   #2
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
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
 
Old 12-01-2004, 05:27 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
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 ;-)

Last edited by reddazz; 12-01-2004 at 05:28 PM.
 
Old 12-01-2004, 05:31 PM   #4
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
LOL reddazz :P heehee.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When DEB packages need strange packages noteventime Linux - Software 0 11-29-2005 10:37 AM
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 09:36 AM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 10:43 AM
Need help unstalling linux rpulido Linux - Software 7 06-17-2003 09:38 PM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 07:03 PM


All times are GMT -5. The time now is 12:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration