Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8028241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:04:48+00:00 2026-06-05T00:04:48+00:00

I am using ubuntu 12.04 and by default python 2.7 is installed .I want

  • 0

“I am using ubuntu 12.04 and by default python 2.7 is installed .I want python 2.6 .
When I used
apt-get install python2.6
I am getting error
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package python2.6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python-gdbm

E: Package ‘python2.6’ has no installation candidate

Thanks in advance.”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:04:49+00:00Added an answer on June 5, 2026 at 12:04 am

    As per the Ubuntu Wiki – Python Toolchain, Python 2.6 is no longer available in the repository.

    Either:

    • You can simply build it from source by downloading the tarball from
      Python 2.6.7
    • You need to find out some repository which might have an older version of
      Python. One alternative is
      https://launchpad.net/~fkrull/+archive/deadsnakes

    You need to install the PPA

    sudo add-apt-repository ppa:fkrull/deadsnakes
    

    Run Update:

    sudo apt-get update
    

    And then install the version you are looking for

    sudo apt-get install python2.6 python2.6-dev
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background: I am using Ubuntu The newer python version is not in the apt-get
I installed Django on an Ubuntu server using the apt package manager, and having
I am using Ubuntu 9.04 I have installed the following package versions: unixodbc and
I get an error when trying to use VPython on Ubuntu 11.10. I installed
I want to learn python, so I get python3.2.2 and install it on ubuntu10
I'm using Ubuntu 11.10. When importing tkinter I get these following error, though it
I am using Ubuntu 10.10 and i want to install php 5.4 as FPM
UPDATE 1: I am using Ubuntu 10.04 and installed the default LAMP stack. ORIGINAL
I'm using Ubuntu 11.04 and Nginx. I want to install phpmyadmin and have access
I have ubuntu 10.04 with python2.6 by default. I have installed python2.7. When I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.