What is the most effective means to get Python 2.5 and also 2.7

Ubuntu 10.04 has just 2 sustained Python variations 2.6 and also 3.1. Programmers usually require extra, to examine that their Python code works with 2.7, 2.5 (and also perhaps even 2.4 and also older ones). What is the most effective means to install those Python variations side - by - side on a lucid system?

Is it Felix Krull's PPA, which I'm presently making use of?

By the way, some vital plans aren't readily available in those non - typical Pythons from the deadsnakes PPA:

  • python - setuptools (yet you can install python - setuptools - deadsnakes)
  • python - profiler
2019-05-13 04:02:45
Source Share
Answers: 2

Your best choice would possibly be making use of debootstrap to create a chroot of an earlier Ubuntu variation where 2.5 was sustained, or make use of a digital equipment.

Mounting it in Ubuntu along with 2.6 might create troubles.

2019-05-17 16:46:42

I additionally make use of the fkrull is Deadsnakes PPA. I assume it is the most effective means to get Python 2.4, 2.5, and also 2.7 right now. I have not face any kind of troubles utilizing it along with the default Python2.6. It additionally aids to maintain points tidy if you make use of a virtualenv, specifically for those variations of Python that are not the system default.

2019-05-17 16:42:42