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.

How to check what files are installed by an installed package under OpenSUSE?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

For installed packages, there is a "Files" tab within the Software Management element of YAST, which lists what files were installed.

From the command line rpm -ql foo (as root? some rootish programs allow a normal user to query stuff) should list the files from package foo, again only if it is installed.

share|improve this answer
    
If you know a file, but not the package, you can use -f to identify by path of a file, e.g. rpm -qilf /etc/passwd (the -i includes information about the package -- name, version, install date, etc) –  Doug Harris Jun 3 '10 at 17:04

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.