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 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

1 Answer 1

up vote 10 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

 
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.