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

link|improve this question

feedback

1 Answer

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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