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

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

share|improve this question
up vote 2 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

You must log in to answer this question.

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