Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-22-2006, 05:25 PM   #1
Registered: Oct 2006
Distribution: Fedora Core
Posts: 60

Rep: Reputation: 15
Get rpm package file list and config informations


Do you know how I get the information of a rpm - package? I would like to find out in forehand, what files are modified, copied, what configuration files are added and what dependencies are required. In general I would like to know exactaly what the rpm package does, to able to reproduce it manual.
I experienced a little bit with rpm, but I don't get the results I am looking for...

I tried:
rpm -lc -p xxx.rpm
rpm -iv xxx.rpm --test
Old 10-22-2006, 05:39 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Did you look at man rpm? To query package requirements (dependencies) use rpm -qR <package>. To get information onf patches etc. you'll need the source RPM as it contains all of the patches and the order in which to apply them. The RPM package itself is just the binaries in cpio format plus soime extra files that specify dependencies and install isntructions which are parsed by the rpm program. I'd suggest you look at some of the resources on to get an idea of how it works.


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
List the files installed by a RPM package s_deepak_123 Linux - General 6 02-20-2006 12:14 PM
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 07:34 AM
RPM: How do you extract just one file from the package? Thetargos Fedora 4 07-17-2004 03:03 AM
How to add a file to an existing rpm package SharpyWarpy Linux - Software 3 06-20-2004 05:59 AM
RPM in Slackware package list mpelts Slackware 1 09-01-2003 02:57 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration