How do I install python-dev without root?
to check the installation status you can use
dpkg-query -l python-dev
the first line will give you the installation status ( ii
means (currently) installed
and (to-be) installed
)
you cannot install a package without root access (which is a root access point: having privileges to modify system components). However, you can download the file .deb
and extract it locally:
wget http://debian.mirror.ac.za/debian/pool/main/p/python-defaults/python-dev_2.7.9-1_amd64.deb
dpkg -x python-dev_2.7.9-1_amd64.deb .
(this will download python-dev and extract it to your current directory)
source to share
you can download the python.org source code ; c / c ++ header files (which are in the debian python-dev package).
source to share
To check if the issue with python-dev is installed
dpkg -l | grep python-dev
If it is not installed, you have no root, you will need to download the source code for the version of Python you are working with from http://python.org, the files included in the python-dev package should be included in the include / direcotory tarball which I believe.
source to share