The easiest way to locate all files installed from RPM package on your system is to check a RPM package manifest which shows all files and location for any particular RPM package. Let's say that I downloaded a telnet-server-1.2-137.1.i586.rpm RPM package from some online source and I wish to see what this package contains and what files will be installed into the system. The following linux command will reveal all that information:
# rpm -qlp telnet-server-1.2-137.1.i586.rpm
RPM options used:
  • -q : this is a general rpm query
  • -l : list package content
  • -p : package name
In case you are about to use yum package manager to install a package from a fedora package repository you can do the same but omit -p option. For example:
# yum search telnet
returns a line:
telnet.i686 : The client program for the Telnet remote login protocol
To check a content of the RPM package before installation you can do:
# rpm -ql telnet
FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.