According to https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop "Python 2.6 is no longer available for install".
I need to support legacy software that runs only on Python 2.6. How can I install Python 2.6 on Ubuntu 12.04?
According to https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop "Python 2.6 is no longer available for install".
I need to support legacy software that runs only on Python 2.6. How can I install Python 2.6 on Ubuntu 12.04?
I'm using a PPA: https://launchpad.net/~fkrull/+archive/deadsnakes
Install the PPA:
sudo add-apt-repository ppa:fkrull/deadsnakes
Run Update:
sudo apt-get update
Install your flavor:
sudo apt-get install python2.6 python2.6-dev
Check out pythonbrew. It does a great job of managing multiple python versions and enviroments. It builds each version of python from source, but does so in a user friendly way. After you install it just run:
Then you can use it with virtualenv to create a virtual enviroment with whatever frameworks and libraries you need without having to worry about conflicts.
I looked for a PPA, didn't find any, then installed Python 2.6 packages from 11.10 by hand:
Replace
XX
with your country code, and, if necessary,i386
with your architecture (amd64
for 64-bit installs).(Also, most people don't need the
-dbg
package.)Python isn't too hard to build. Try
sudo apt-get install build-essential
,sudo apt-get build-dep python2.7
(only gets dependencies which are almost the same as those for Python 2.6. Now download the Python 2.6 source distribution and./configure
,make
,make install
.for plone development on linux, we use this buildout script: https://svn.plone.org/svn/collective/buildout/bda-naked-python/
there are buildout configuration files for python versions 2.4, 2.5, 2.6, 2.7 and 3.2.
the README tells how to use it.
If you are upgrading to 12.04 and already have Python 2.6 installed, it will remain installed after your upgrade.
The packages installed will be considered "local", and obviously cannot be updated with the Upgrade Manager. Source-only security fixes (if any are needed) are available from python.org.
Only those 2.6 packages that are installed will remain, any that were not installed will not be accessible. If you need them, you can get them from the Ubuntu archives following Marius' instructions.
Try using the debs here (check the description dependencies as you may have a lot to download--but its all point/click debs).
Or if you got a usb with 10.04 install with software centre and make an aptoncd iso. You can open these and simply click the debs backed up within without doing a full auto install. I'm making a few to back-up the 10.04 debs as i fear they will be gone one day and 10.04 the best version in ubuntu history to date.
i dont know is it work or not, but you can try this:
this will show you version of the package and then try:
for getting only the available versions try this:
make us know is it work or not...