When installing python2.6 error on ubuntu 12.04

"I use ubuntu 12.04 and python 2.7 is installed by default. I need python 2.6. When I used apt-get install python2.6 I get an error Reading package lists ... Done Creating a dependency tree
Reading status information ... Done The python2.6 package is not available, but is mentioned by another package. This may mean that the package is missing, out of date, or accessible only from another source. However, the following packages replace it: Python-GDBM

E: Package 'python2.6' has no install candidate

Thanks in advance.

+4
source share
1 answer

According to the Ubuntu Wiki - Python Toolchain , Python 2.6 is no longer available in the repository.

Or:

You need to install 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 
+8
source

Source: https://habr.com/ru/post/1414671/


All Articles