Solved

Viewing the contents of an RPM

Posted on 2003-10-27
2
314 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now