`
473687880
  • 浏览: 484670 次
文章分类
社区版块
存档分类
最新评论

Install Python 2.6 in Ubuntu 12.04

 
阅读更多

Ubuntu 12.04 includesPython2.7.3 and Python 2.6 is no longer available for install.If you need to run legacy software which only support Python 2.6.Below steps will show you how to install Python 2.6 from PPA,alternatively you also can build it yourself.

1.Open a Terminal by pressingCTL+ALT+t

2.Run below command to add PPA to your repository

sudo add-apt-repository ppa:fkrull/deadsnakes

3.Then you can update your repository and install Python 2.6

sudo apt-get update
sudo apt-get install python2.6 python2.6-dev

4.You are done,enjoy.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics