LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-12-2004, 06:59 AM   #1
ejbest
Member
 
Registered: Jul 2004
Posts: 34

Rep: Reputation: 15
rpm listing


Sorry to be such a newbie, but can some one please tell me the #rpm command that will list ALL the packages in the system? There have been things I tried with rpm -i and rpm -q; however, nothing seems to make a listing of packages.

Thanks in Advance.
 
Old 08-12-2004, 07:04 AM   #2
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
rpm -qa

also

rpm -qf filename

to know which package the file belongs


Get the freely available Maximum Rpm book for a load of informa

Cheers
Z
 
Old 08-12-2004, 10:24 PM   #3
irlandes
Member
 
Registered: Nov 2003
Posts: 122

Rep: Reputation: 17
more options

rpm -qa | less

shoves them all into less. You can move up and down with page keys, or arrows, and q quits.


This is different, but if you want to know what all the rpms do, take your file browser, in KDe it's Konqueror, into the CD, and type

rpm -qpi * | less

or for permanent file,

rpm -qpi * > /path/filename.txt

and it will produce a permanent text file of rpm info or descriptions that you can peruse with a word processor.

Likewise,

rpm -qpl * > /path/filename.txt

will produce a very large text file of every file in every rpm on that CD.

As I typed, I realized I have failed miserably in my snooping in that I have not tried

rpm -qpil * > /path/filename.txt to try to get them both. I do not think it will work with two options, but I should try it when I get time.
 
  


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
iptables is not listing to me pietsebrie Fedora 4 11-18-2004 01:03 AM
Listing All Commands? Rv5 Linux - General 4 09-30-2003 06:42 PM
Listing files before intalling a RPM? deepika Linux - Newbie 3 07-18-2003 05:00 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
listing of programs squeaks_27 Slackware 4 02-04-2003 01:46 PM

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

All times are GMT -5. The time now is 03:31 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