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:
Run Update:
Install your flavor:
|
|||||||||
|
|
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 (Also, most people don't need the |
|||||||||||||
|
|
Python isn't too hard to build. Try |
|||||||||
|
|
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... |
|||||
|