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

Fedora 14 xfce

I have installed a package using yum install package-name.

However, I can't seen to find out where it has been installed to.

Is there any command that will tell me what directory the files have been installed to?

share|improve this question
up vote 7 down vote accepted

You can just use the rpm tool for this.

rpm -ql package-name

Will list all files installed by that package (that's que-ell).

share|improve this answer

You could open a terminal session and use whereis:

[linker3000@aa1 ~]$ whereis vi
vi: /bin/vi /usr/share/man/man1/vi.1.gz /usr/share/man/man1p/vi.1p.gz
share|improve this answer

The above will work but I found rpm did not work for development libraries (e.g. libssl-dev). It may have been me, but maybe not. Here is another approach:

If you have Synaptic Package Manager you can:

  1. Locate the package under Installed.
  2. Right click and select Properties.
  3. Click the Installed Files tab.

This will show you where all the files are installed. An especially useful piece of information for development libraries that are installed in multiple locations.

share|improve this answer

You must log in to answer this question.

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