Install python-dev without package management?

I have to install python-dev on my embedded linux machine that runs python-2.7.2. The taste of Linux was commissioned by TimeSys; uname -a gives: Linux hotspot-smc 2.6.32-ts-armv7l-LRI-6.0.0 # 1 Mon Jun 25 18:12:45 UTC 2012 armv7l GNU / Linux

There is no package management on the platform such as "yum" or "apt-get", and for various reasons, I prefer not to install it. He has gcc.

Does python-dev source generate C / C ++ code? Can I download the python-dev source code as a .tar.gz file for direct compilation on this computer? I was looking for a source, but could not find it.

Thanks Tom

+4
source share
3 answers

? python . :

pip install python-dev
+3

python-dev C/++?

. Python.

python-dev .tar.gz ?

python-dev - . , , . sudo apt-get install python-dev sudo yum install python-devel .

+1

You have to use

./configure --enable-shared
+1
source

All Articles