installing python2.6

  • Last Update :
  • Techknowledgy :

Administrators installing Python for all users on Windows Vista either need to be logged in as Administrator, or use the runas command, as in:,NEWS file contains a listing of everything that's new in each alpha, beta, and release candidate of Python 2.6.,Python 2.6 (final) was released on October 1st, 2008. There are a huge number of new features, modules, improvements and bug fixes. For information on what's changed, see:, Community Diversity Mailing Lists IRC Forums PSF Annual Impact Report Python Conferences Special Interest Groups Python Logo Python Wiki Merchandise Community Awards Code of Conduct Get Involved Shared Stories

MD5 checksums and sizes of the released files:

837476958702 cb386c657b5dba61cdc5 10957859 Python - 2.6.tar.bz2
d16d29a77db2cd3af882a591f431a403 13023860 Python - 2.6.tgz
fe34764ad0027d01176eb1b321dd20c5 14503936 python - 2.6.amd64.msi
6 c62c123d248a48dccbaa4d3edc12680 14173184 python - 2.6.msi
29 a1a22f8d9fd8a4501b30d97fbee61c 23593748 python - 2.6 - macosx2008 - 10 - 01. dmg

Administrators installing Python for all users on Windows Vista either need to be logged in as Administrator, or use the runas command, as in:

runas /user:Administrator "msiexec /i <path>\<file>.msi"

Suggestion : 2

I'm very new in Ubuntu,also in Linux. I've just installed Ubuntu 11.04 which comes with python 2.7 by default. But I want to install python 2.6, how am I about to do that? Thanks.,Just to list all the options: just pulling down a source tarball from python.org, unpacking it and compiling your own python interpreter is also easy and is actually what real men do :) You can install it in a separate directory so it doesn't interfere with the system python. Messing with system python is dangerous because lots of Ubuntu programs use it. So something like this:, 1 What are the benefits of using pythonbrew compared to just installing 2.6 from the repositories? Would issuing "pythonbrew switch 2.6" make Ubuntu's own python programs (there are quite a few of them) use Python 2.6 too? If yes, can it make them to fail? – Sergey Oct 9, 2011 at 11:59 ,You can install python 2.6 by running this command clicking this link: python2.6

Or by typing this command in a terminal.

sudo apt - get install python2 .6

Get pythonbrew. This should let you run 2.6 and 2.7 side by side.

pythonbrew install 2.6
pythonbrew
switch 2.6

Just to list all the options: just pulling down a source tarball from python.org, unpacking it and compiling your own python interpreter is also easy and is actually what real men do :) You can install it in a separate directory so it doesn't interfere with the system python. Messing with system python is dangerous because lots of Ubuntu programs use it. So something like this:

sudo apt - get install build - essential
wget http: //www.python.org/ftp/python/2.6.7/Python-2.6.7.tar.bz2
   tar jxf. / Python - 2.6 .7.tar.bz2
cd. / Python - 2.6 .7
   . / configure--prefix = ~/mypython && make && make install

would build you your own Python which you'll be able to invoke as

. / mypython / bin / python2 .6

Suggestion : 3
$ cd incoming
$ wget http: //www.python.org/ftp/python/2.6/Python-2.6.tgz
$ tar zxvf Python - 2.6.tgz
$ sudo apt - get install build - essential
$ sudo apt - get install libncursesw5 - dev
$ sudo apt - get install libreadline5 - dev
$ sudo apt - get install libssl - dev
$ sudo apt - get install libgdbm - dev
$ sudo apt - get install libbz2 - dev
$ sudo apt - get install libc6 - dev
$ sudo apt - get install libsqlite3 - dev
$ sudo apt - get install tk - dev
~/lib/python2.6
$ cd Python - 2.6
$. / configure--prefix = /home/sofeng / lib / python2 .6
1._
$ make
$ make
Failed to find the necessary bits to build these modules:
   bsddb185 sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module 's name.
(Optional)
$. / python
$ ./python
Python 2.6(r26: 66714, Oct 2 2008, 15: 32: 46)[GCC 4.2 .3(Ubuntu 4.2 .3 - 2 ubuntu7)] on linux2
Type "help", "copyright", "credits"
or "license"
for more information. >>>

Suggestion : 4

Download, compile and install Python. # Python 2.7.0: wget http://python.org/ftp/python/2.7.0/Python-2.7.0.tar.xz tar xf Python-2.7.0.tar.xz cd Python-2.7.0 ./configure --prefix=/usr/local --enable-unicode=ucs4 --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" make && make altinstall The newly installed Python interpreter is available as /usr/local/bin/python2.7. The system version of Python 2.6.6 continues to be available as /usr/bin/python, /usr/bin/python2 and /usr/bin/python2.6.,Make sure Python command points to the latest Python you installed. Then, to make the latest Python installation the default Python engine, run source ~/.bash_profile,Install Python 2.7.9 or higher (but lower than Python 3) to run Guardium Application Framework SDK on the Linux operating system.,To strip symbols from the shared library to reduce the memory footprint, enter: strip /usr/local/lib/libpython2.7.so.1.0

Download, compile and install Python.
# Python 2.7 .0:
   wget http: //python.org/ftp/python/2.7.0/Python-2.7.0.tar.xz
   tar xf Python - 2.7 .0.tar.xz
cd Python - 2.7 .0
   . / configure--prefix = /usr/local--enable - unicode = ucs4--enable - shared LDFLAGS = "-Wl,-rpath /usr/local/lib"
make && make altinstall