Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 have been installing python modules using apt-get which works great using the console or launching files from the command line. However I am using Eclipse for easier organisation of files.

Eclipse doesn't automatically find new modules like terminal does, so I was wondering if there was a way of finding out the install path which an apt-get command uses?

I just realised that you can delete the python eclipse looks at and reconfigure it to fix my particular problem. It would still be useful for me to find the installation path though!

share|improve this question
up vote 12 down vote accepted

dpkg -L <package_name> will give you a list of all files in a package. Usually python packages install to /usr/lib/python/ (ie: /usr/lib/python2.7/).

share|improve this answer

Your Answer


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.