LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-22-2006, 06:25 PM   #1
tobiasw
Member
 
Registered: Oct 2006
Distribution: Fedora Core
Posts: 58

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


Hi,

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, 06:39 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,164

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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 http://rpm.org to get an idea of how it works.
 
  


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


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