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

I compiled and installed a program from a tarball ala make install but now I want to know where those files were installed. How can I do this?

share|improve this question
up vote 1 down vote accepted

There's no universally reliable way to do this after the fact, AFAIK. One thing that might work, if the Makefile has an uninstall target or such, would be to examine that and see what it removes; that might show you where the install put stuff.

However, the issue of keeping track of installed files has been around for a very long time, and the answer is generally package managers. What most of them do (basically) is install the package into an isolated location and then pack up the resulting files into a "package". Once that's been done, you can see what files are installed by looking inside the package (or asking the package manager).

One thing you could do would be to simulate what a package manager would do. Create a directory and install the program in it (if your program uses ./configure, you can use that to specify an alternate install location; depending on the program, you might have to do something more complicated). Then see what's in that directory and find those files on your real system.

share|improve this answer

You must log in to answer this question.

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