Solved

Viewing the contents of an RPM

Posted on 2003-10-27
2
316 Views
Last Modified: 2013-11-13
At times I would like to know what changes an RPM will make to my system ahead of time. I would like to run RPM with the right switches (if they exist) so it will show me what files it will intall and where. Maybe it will put one file in /etc and create a new directory under /usr with five files, and update an existing file in /usr/bin. That's the kind of thing I would like to be able to figure out.
0
Comment
Question by:jbbarnes
2 Comments
 

Accepted Solution

by:
larsra99 earned 50 total points
ID: 9630123
rpm -qpl package.rpm

should give you a list of all files that will be installed from the RPM

rpm -qipl package.rpm

if you want to see the package info as well.

-Lars
0
 
LVL 7

Expert Comment

by:HalldorG
ID: 9630126
rpm -qlp  package.rpm will list out the content

rpm -Fa package.rpm will freshen the rpm package if you already have installed an older version

rpm -qi  will give you info
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Installations often have prerequisites, such as “Microsoft .Net framework is required for this product”. The usual implementation in MSI installations is system search for a particular registry setting representing the required prerequisite, followe…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question