Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

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.

2 Answers

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 http://www.lysium.de/blog/index.php?/archives/229-Installing-Python-2.6-on-Ubuntu-8.04.html which seems as though it would benefit you.

share|improve this answer
add comment

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
add comment

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