Re: install python 2.6 on Ubuntu 12.04

2012-05-23 Thread Christian Heimes
Am 23.05.2012 09:40, schrieb Christian Heimes: > You recall correctly. That's the recommended and correct way to install > Python 2.6 on a recent machine, with one exception. You must compile it > with the option MACHDEP=linux2, otherwise sys.platform will contain the > string "linux3" [1]. You als

Re: install python 2.6 on Ubuntu 12.04

2012-05-23 Thread Christian Heimes
Am 23.05.2012 02:51, schrieb Benjamin Kaplan: > Even easier: > > ./configure > make > sudo make altinstall > > If I recall correctly, that will install it in > /usr/local/lib/python2.6 and it will create /usr/local/bin/python2.6 > but it will not create /usr/local/bin/python so it won't clobber t

Re: install python 2.6 on Ubuntu 12.04

2012-05-22 Thread Sebastien Douche
On Wed, May 23, 2012 at 1:47 AM, Gelonida N wrote: > What would be the recommended way to install (compile) 2.6 on 12.04? Hi, I manage my own Python interpreters with Pythonbrew (I don't use the global Python): http://pypi.python.org/pypi/pythonbrew/ -- Sebastien Douche Twitter: @sdouche / G

Re: install python 2.6 on Ubuntu 12.04

2012-05-22 Thread Benjamin Kaplan
On Tue, May 22, 2012 at 8:09 PM, Dan Stromberg wrote: > > If the pythons you require are in synaptic (sudo to root and run synaptic), > you probably can just use them. > > If not, then you, for each release, need to: > 1) download a tarball using a browser or whatever > 2) extract the tarball: tar

Re: install python 2.6 on Ubuntu 12.04

2012-05-22 Thread Dan Stromberg
If the pythons you require are in synaptic (sudo to root and run synaptic), you probably can just use them. If not, then you, for each release, need to: 1) download a tarball using a browser or whatever 2) extract the tarball: tar xvfp foo.tar.bz2 3) cd into the newly created, top-level directory,

install python 2.6 on Ubuntu 12.04

2012-05-22 Thread Gelonida N
Hi, On Ubuntu 12.04 python 2.7 is the default version I'd like to install python 2.6 parallel to 2.7 and create a virtualenv for it. The reason is, that I have to write some code, that will be executed under 2.6 and I want to be sure, that I don't accidentally write code, that would no more