How can I tell what files are in a RPM package and where RPM puts these files?
Updated -
To determine what files are in a RPM package run an RPM query with the -l or --list option to list the files in the package.
Syntax:
rpm -ql [pacakage name]
rpm -q --list [pacakage name]
example:
$rpm -ql bash
/bin/bash
/bin/bash2
/bin/sh
/etc/skel/.bash_logout
/etc/skel/.bash_profile
/etc/skel/.bashrc
/usr/bin/bashbug
/usr/lib/bash
/...Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.