{"id":1438,"date":"2013-08-25T05:00:22","date_gmt":"2013-08-25T05:00:22","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=1438"},"modified":"2013-08-25T05:00:22","modified_gmt":"2013-08-25T05:00:22","slug":"install-python-2-6-2-5-3-3-in-ubuntu-12-04-12-10-13-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2013\/08\/install-python-2-6-2-5-3-3-in-ubuntu-12-04-12-10-13-04\/","title":{"rendered":"Install Python 2.6, 2.5, 3.3 in Ubuntu 12.04, 12.10, 13.04 via PPA"},"content":{"rendered":"<p>This tutorial shows how to install older &#038; newer versions of python in Ubuntu. Felix Krull has created a PPA that contains multiple python versions:<\/p>\n<ul>\n<li><b>python 2.4.6<\/b> for Ubuntu 10.04, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 13.04, Ubuntu 11.10, Ubuntu 11.04<\/li>\n<li><b>python 2.5.6<\/b> for Ubuntu 10.04, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 13.04, Ubuntu 11.10, Ubuntu 11.04<\/li>\n<li><b>python 2.6.8<\/b> for Ubuntu 13.04, Ubuntu 12.04, Ubuntu 12.10<\/li>\n<li><b>python 2.7<\/b> for Ubuntu 10.04, Ubuntu 10.10<\/li>\n<li><b>python 3.1<\/b> for Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04, Ubuntu 11.10<\/li>\n<li><b>python 3.2<\/b> for Ubuntu 13.04, Ubuntu 10.04<\/li>\n<li><b>python 3.3<\/b> for Ubuntu 12.04, Ubuntu 11.10, Ubuntu 10.04<\/li>\n<\/ul>\n<p>To add the ppa, run below command in terminal:<\/p>\n<pre>sudo add-apt-repository ppa:fkrull\/deadsnakes<\/pre>\n<p>Then update package lists:<\/p>\n<pre>sudo apt-get update<\/pre>\n<p><b>To install python 2.4 in Ubuntu 12.04, etc.<\/b> run below command:<\/p>\n<pre>sudo apt-get install python2.4<\/pre>\n<p><b>To install python 2.5 in Ubuntu 12.04, etc.<\/b> run:<\/p>\n<pre>sudo apt-get install python2.5<\/pre>\n<p><b>To install python 2.6 in Ubuntu 12.10<\/b>, Ubuntu 12.04, run:<\/p>\n<pre>sudo apt-get install python2.6<\/pre>\n<p><b>To install python 2.7 in Ubuntu 10.04, Ubuntu 10.10<\/b><\/p>\n<pre>sudo apt-get install python2.7<\/pre>\n<p><b>To install Python 3.2 in Ubuntu 12.04<\/b>:<\/p>\n<pre>sudo apt-get install python3.2<\/pre>\n<p><b>To install Python 3.3 in Ubuntu 12.04<\/b>:<\/p>\n<pre>sudo apt-get install python3.3<\/pre>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to install older &#038; newer versions of python in Ubuntu. Felix Krull has created a PPA that contains multiple python versions: python 2.4.6 for Ubuntu 10.04, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 13.04, Ubuntu 11.10, Ubuntu 11.04 python 2.5.6 for Ubuntu 10.04, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 13.04, Ubuntu 11.10, Ubuntu 11.04 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[522,523,524,525],"class_list":["post-1438","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-python-2-4","tag-python-2-5","tag-python-2-6","tag-python-3-3"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/1438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=1438"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/1438\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=1438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=1438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=1438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}