Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use ubuntu 8.04 as I have to use gcc 4.2. I tried to download python 2.6 using apt-get, but the package is not available.

Is there any way to use python 2.6 in ubuntu 8.04?

share|improve this question

closed as too localized by Bruno Pereira Mar 12 '12 at 20:37

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 3 down vote accepted

It is likely that you will be building Python 2.6 from source one way or another. I found a guide located at which seems as though it would benefit you.

share|improve this answer

8.04 is a pretty old distribution. It might not run python 2.6 efficiently. Python 2.6 is standard in 10.04, you could upgrade directly from the 8.04 LTS to the 10.04 LTS.

share|improve this answer
Do I still keep the gcc 4.2 even when I upgrade to 10.04 LTS? I use 8.04 as I have to use gcc 4.2. – prosseek Apr 6 '11 at 3:55
Unfortunately, gcc is version 4.4 at the minimum version number on Lucid. There's no backports of Python 2.6 for 8.04, so you'd be stuck compiling python 2.6 from source if you want it on 8.04. – Thomas W. Apr 6 '11 at 5:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.