LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
Search this Thread
Old 09-24-2003, 01: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, 01: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 01:54 AM.
 
Old 09-24-2003, 01:56 AM   #3
linuxturtle
Member
 
Registered: Apr 2002
Posts: 36

Original Poster
Rep: Reputation: 15
thanks man
 
Old 09-24-2003, 02: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


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


All times are GMT -5. The time now is 09:38 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration