debian - Choose default python -
debian - Choose default python -
i've installed python2.7 in distro debian squeeze. i'm little confused way scheme search python executable. example, when type ls -l | grep python
i have
lrwxrwxrwx 1 root root 23 feb 5 17:14 pdb2.5 -> ../lib/python2.5/pdb.py lrwxrwxrwx 1 root root 23 nov 23 18:29 pdb2.6 -> ../lib/python2.6/pdb.py lrwxrwxrwx 1 root root 9 nov 23 18:29 python -> python2.6 -rwxr-xr-x 1 root root 1390792 nov 28 2010 python2.5 -rwxr-xr-x 1 root root 2617520 dec 27 2010 python2.6 -rwxr-xr-x 1 root root 1452 dec 27 2010 python2.6-config lrwxrwxrwx 1 root root 16 nov 23 18:49 python-config -> python2.6-config lrwxrwxrwx 1 root root 29 nov 23 18:29 pyversions -> ../share/python/pyversions.py
the symlink shows python pointed python2.6, when type
python python 2.7 default python executable python 2.7.3 (default, feb 6 2013, 12:12:35) [gcc 4.4.5] on linux2 type "help", "copyright", "credits" or "license" more information.
what need create default python python 2.6? thanks
for question, see command ls -l $( python )
shows. guess may surprise you.
if want take own python executable, independent on installed or configured on system, suggest utilize pythonbrew.
python-2.7 debian development-environment
Comments
Post a Comment