Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

CentOS 5.3

I have been installing some packages using

rpm -ivh package

However, I am just wondering what command I can use to find the path of where the packages are installed.

Many thanks,

share|improve this question
up vote 8 down vote accepted

rpm -ql package should give you a list of all files installed for a given package.

share|improve this answer
rpm -qpl package.rpm will list the files the package contains before installing it. – Etan Reisner Jun 27 '13 at 15:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .