Link to home
Start Free TrialLog in
Avatar of jbbarnes
jbbarnes

asked on

Viewing the contents of an RPM

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.
ASKER CERTIFIED SOLUTION
Avatar of larsra99
larsra99

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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