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.

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

1 Answer 1

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

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.