LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 04: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, 04: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, 04:27 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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 04:28 PM.
 
Old 12-01-2004, 04: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



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 09:37 AM
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 08:36 AM
Mandrake Update/Install Packages/Remove Packages wslyhbb Mandriva 2 03-15-2004 09:43 AM
Need help unstalling linux rpulido Linux - Software 7 06-17-2003 08:38 PM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:09 AM.

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
Open Source Consulting | Domain Registration