LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-13-2004, 03:58 AM   #1
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
how to find all files and programs in a package (RPM)


Is there any program that shows a list of files installed by an RPM AFTER the package has been installed.

On SUSE YAST displays the files BEFORE you install the product / package but after installation that menu doesn't exist any more.

There used to be a package on KDE called KPACKAGE which could show these files but that seems to have gone.

If there's no graphical option can I get this from the command line on a console.


( I've installed something and need to find the .cnf file for the product -- but I can't find the libraries or know what it's called -- and I don't want to do a global search on *.cnf.

I'm surprised YAST doesn't give you the info especially as you can display it BEFORE the package / RPM is installed).

Another reason I'd like this is to be able to extract the data and put it into a spreadsheet so I know exactly what's on the system.

Thanx
 
Old 07-13-2004, 05:16 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
You can get the whole list with...

$ rpm -q --filesbypkg package_name

Or, search the list with...

$ rpm -q --filesbypkg package_name | grep .cnf

Last edited by ranger_nemo; 07-13-2004 at 05:17 AM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find corresponding rpm package stewchcken Linux - Software 3 07-14-2005 12:50 AM
Adding a package so rpm can find it dangerousdave Linux - Newbie 2 02-22-2005 12:39 PM
How to Find the Compile Time Options of a RPM Package spurgeonb Red Hat 0 11-14-2004 12:00 AM
find files that do not belong to any package? Pinchiukas Slackware 10 09-15-2004 08:26 AM
How to extract files from an rpm package mayankjohri Linux - Networking 3 06-12-2002 01:33 AM

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

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