LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2007, 09:37 AM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
listing installed packages using rpm


How would one view installed packages on a single system using the rpm command?

Never mind disregard this post. I had a brain hickup and forgot to search your database I found the anwser for anybody in cyborg-land

rpm -qa|more

Sorry moderators, I know that I am going to catch cyber-hell for this one!

Last edited by metallica1973; 08-20-2007 at 09:43 AM.
 
Old 08-20-2007, 10:21 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Well, 'rpm -qa' is just a start listing things. RPM makes things easier. Say you want to list installed RPM's:

- by installtime:
Code:
rpm -qa --qf="%{INSTALLTIME:date} %{NAME}\n"
- by group:
Code:
cat /usr/share/doc/rpm-*/GROUPS\
|while read grp; do echo "# Group: ${grp}"; 
rpm -q -g "${grp}"; echo; done
- top-10 packages by size:
Code:
rpm -qa --qf="%{SIZE} %{NAME}\n"|sort -grk1|head -10
 
Old 08-20-2007, 05:13 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
People like you show me just how little I know about linux/unix!

many thanks
 
Old 08-20-2007, 08:20 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
I think you mean: http://dictionary.reference.com/browse/liege
 
Old 08-21-2007, 01:01 PM   #5
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
A series typo. thanks
 
  


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
Listing of packages installed on system kushalkoolwal Debian 12 06-22-2006 02:59 AM
Directory containing .rpm packages already installed satimis Fedora 2 05-16-2006 09:19 AM
What happens to the installed RPM packages? halturata Linux - Newbie 5 03-31-2006 01:28 PM
RPM is saying installed packages aren't installed ticky87 Linux - Newbie 4 07-26-2004 01:17 AM
Listing installed packages in Gentoo ? Builder Linux - Distributions 1 07-08-2004 05:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:55 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
Open Source Consulting | Domain Registration