LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 09-24-2003, 12:50 AM   #1
linuxturtle
Member
 
Registered: Apr 2002
Posts: 36

Rep: Reputation: 15
List and remove rpms


How do i get a list of rpms installed on my server so I can start uninstalling them. i have heaps of packages I dont need or want on there...

Thanks
 
Old 09-24-2003, 12:52 AM   #2
Saraev
Member
 
Registered: Apr 2002
Location: Los Gatos, CA
Distribution: boring redhat 9
Posts: 163

Rep: Reputation: 30
rpm -qa > rpmlisting.txt

then, rpm -e package-name

If one of them wonks about dependencies, make sure you don't need any of them, then just put them all on the same line, like:

rpm -e package1 package2 package3

Last edited by Saraev; 09-24-2003 at 12:54 AM.
 
Old 09-24-2003, 12:56 AM   #3
linuxturtle
Member
 
Registered: Apr 2002
Posts: 36

Original Poster
Rep: Reputation: 15
thanks man
 
Old 09-24-2003, 01:01 AM   #4
Saraev
Member
 
Registered: Apr 2002
Location: Los Gatos, CA
Distribution: boring redhat 9
Posts: 163

Rep: Reputation: 30
anytime
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
saving list of RPMS DAChristen29 Mandriva 8 08-23-2004 11:01 PM
List installed RPMs radam Linux - Software 4 07-21-2004 02:05 PM
RPM hell, how to remove source rpms? baudchaser Linux - Newbie 3 02-13-2004 10:16 AM
Remove RPMs? xperience Linux - Newbie 2 12-12-2003 11:04 AM
what is the fastest way to remove rpms without x-windows? G-Fox Linux - Software 5 08-18-2003 12:30 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration