I have manually built numpy
, scipy
, matplotlib
etc - without root privilages. Now when I'm trying to install anything related - synaptic
suggest me to install all the libs system wide. Is there a way I can tell synaptic
to use the locally installed libs?
Edit:
All libs installed in the standard place:
~/.local/lib/python2.7
No you can't.
The Debian/Ubuntu package management (APT) has no control over your user-specific installed libraries. This is intentional. Intentional why? This would break security in a certain aspect - local users would have the ability to 'own' the system libraries.
In case you need specific versions of Python libraries I would recommend using
pip
to manage them in your local (home) directories. Also consider building your own.deb
packages in case you want to distribute them in case other stuff doesn't break on this being installed system-wide.try copying the libs to the global directory. To do this type
do this for every lib you want to copy.