Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 7 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.