{"id":3279,"date":"2021-01-19T10:05:30","date_gmt":"2021-01-19T10:05:30","guid":{"rendered":"https:\/\/www.how2shout.com\/linux\/?p=3279"},"modified":"2024-06-18T05:57:23","modified_gmt":"2024-06-18T05:57:23","slug":"how-to-install-python-2-7-on-ubuntu-20-04-lts","status":"publish","type":"post","link":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/","title":{"rendered":"How to install Python 2.7 on Ubuntu 20.04 LTS"},"content":{"rendered":"<p>As we know Ubuntu 20.04 LTS which is the Long term version of Canonical has dropped the previous version of Python which is 2, to give space to the latest version of Python 3.\u00a0 Therefore, if some application required Python 2.7 then you would not find it on Ubuntu 20.04 by default. However, there is a way to install it using the command line terminal.<\/p>\n<h2>Install Python 2.7 on Ubuntu 20.04 LTS Linux and make it default<\/h2>\n<h3>1. Open a command terminal<\/h3>\n<p>Although everybody is familiar with how to run the command terminal, however, those who don&#8217;t know can use the shortcut key combination i.e. Ctrl+Alt+T.<\/p>\n<p>&nbsp;<\/p>\n<h3>2. Add Universe repo<\/h3>\n<p>It is quite possible that your system would already have the Universe repository, still run the below command to add or confirm it.<\/p>\n<pre>sudo apt-add-repository universe\r\nsudo apt update<\/pre>\n<p>&nbsp;<\/p>\n<h3>3. Install Python2.7 on Ubuntu 20.04 LTS<\/h3>\n<p>Once done with the above command, it is time to install the Python 2.7 version on Ubuntu Linux, for that, follow this syntax:<\/p>\n<pre>sudo apt install python2-minimal<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Check Python2 version<\/strong><\/p>\n<p>To view the current version of Python on your system run:<\/p>\n<pre>python2 -V<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<pre>Python 2.7.18<\/pre>\n<p>&nbsp;<\/p>\n<h3>4. See all available Python versions on the system<\/h3>\n<p>As we know Ubuntu 20.04 comes out of the box with Python 3 thus, let&#8217;s check what the available versions of Python are on our system.<\/p>\n<pre>ls \/usr\/bin\/python*<\/pre>\n<p><a href=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/01\/Check-all-PHP-versions.jpg\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3280\" title=\"Check all PHP versions\" src=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/01\/Check-all-PHP-versions.jpg\" alt=\"Check all PHP versions\" width=\"697\" height=\"188\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>5. Change the Default Python priority<\/h3>\n<p>You will see both Python 2.7 and 3 on your Ubuntu 20.04 Linux. However, by default, the system will give priority to Python3, and that&#8217;s when we run <code>python<\/code> command it will give an error:<\/p>\n<pre>Command 'python' not found, did you mean:\r\ncommand 'python 3' from deb python3\r\ncommand 'python' from deb python-is-python3<\/pre>\n<p>Thus, we changed the priority and set Python2 at the top so that it could be called by applications as the default version. Whereas Python3 will be second.<\/p>\n<pre>sudo update-alternatives --install \/usr\/bin\/python python \/usr\/bin\/python2 1\r\nsudo update-alternatives --install \/usr\/bin\/python python \/usr\/bin\/python3 2<\/pre>\n<p><strong>Now, check the default version:<\/strong><\/p>\n<pre>python -V<\/pre>\n<p><em>In the <strong>future<\/strong>, if you want to<strong> set Python 3 as the default<\/strong> or first version in the priority list, simply update the alternatives list, using this command:<\/em><\/p>\n<pre>sudo update-alternatives --config python<\/pre>\n<p>You will get something like the below screenshot with the choice to set one as the priority. To select, enter the number given corresponding to each version path under the <strong>Selection<\/strong> column and hit the <strong>Enter<\/strong> key.<\/p>\n<p><a href=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/01\/Switch-Default-Python-Version.jpg\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3281 size-full\" title=\"Switch Default Python Version\" src=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/01\/Switch-Default-Python-Version.jpg\" alt=\"Switch Default Python 2.7 Version Ubuntu 20.04\" width=\"703\" height=\"206\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>6. Install Pip 2 on Ubuntu 20.04<\/h3>\n<p>Now, if you are also interested in Pip 2, here are the following commands.<\/p>\n<p><strong>Note<\/strong>: Make sure you already have enabled the <strong>universe<\/strong> repo given in<strong> Step 2<\/strong> of this article and have Python 2 on your system.<\/p>\n<pre>sudo apt update \r\nsudo apt install curl \r\ncurl https:\/\/bootstrap.pypa.io\/pip\/2.7\/get-pip.py --output get-pip.py\r\nsudo python2 get-pip.py<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Check Version:<\/strong><\/p>\n<pre>pip2 --version<\/pre>\n<p><a href=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/01\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3282\" title=\"Install python2 and PIP 2 on Ubuntu 20.04\" src=\"https:\/\/www.how2shout.com\/linux\/wp-content\/uploads\/2021\/01\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg\" alt=\"Install python2 and PIP 2 on Ubuntu 20.04\" width=\"800\" height=\"600\" \/><\/a><\/p>\n<h3>7. Uninstall (optional)<\/h3>\n<p>If you don&#8217;t need Python 2.7 on your system then here is the command to remove it:<\/p>\n<pre>sudo apt remove python2-minimal<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we know Ubuntu 20.04 LTS which is the Long term version of Canonical has dropped the previous version of Python which is 2, to give space to the latest version of Python 3.\u00a0 Therefore, if some application required Python 2.7 then you would not find it on Ubuntu 20.04 by default. However, there is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":3282,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","_mbp_gutenberg_autopost":false,"footnotes":""},"categories":[3],"tags":[2923,29,1261,30,3065],"class_list":{"0":"post-3279","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ubuntu","8":"tag-python","9":"tag-ubuntu","10":"tag-ubuntu-18-04","11":"tag-ubuntu-20-04","12":"tag-ubuntu-21-04"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install Python 2.7 on Ubuntu 20.04 LTS - LinuxShout<\/title>\n<meta name=\"description\" content=\"Working commands to install Python 2.7 on Ubuntu 20.04 LTS Linux along with Pip 2 to install and run various server applications.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install Python 2.7 on Ubuntu 20.04 LTS\" \/>\n<meta property=\"og:description\" content=\"Working commands to install Python 2.7 on Ubuntu 20.04 LTS Linux along with Pip 2 to install and run various server applications.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxShout\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/how2shout\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-19T10:05:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-18T05:57:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/01\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Heyan Maurya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@h2smedia\" \/>\n<meta name=\"twitter:site\" content=\"@h2smedia\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Heyan Maurya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/\"},\"author\":{\"name\":\"Heyan Maurya\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/person\\\/102d73e20384ea409022d5bafddc0f72\"},\"headline\":\"How to install Python 2.7 on Ubuntu 20.04 LTS\",\"datePublished\":\"2021-01-19T10:05:30+00:00\",\"dateModified\":\"2024-06-18T05:57:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/\"},\"wordCount\":412,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg\",\"keywords\":[\"python\",\"ubuntu\",\"ubuntu 18.04\",\"ubuntu 20.04\",\"Ubuntu 21.04\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/#respond\"]}],\"copyrightYear\":\"2021\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/\",\"name\":\"How to install Python 2.7 on Ubuntu 20.04 LTS - LinuxShout\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg\",\"datePublished\":\"2021-01-19T10:05:30+00:00\",\"dateModified\":\"2024-06-18T05:57:23+00:00\",\"description\":\"Working commands to install Python 2.7 on Ubuntu 20.04 LTS Linux along with Pip 2 to install and run various server applications.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg\",\"contentUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg\",\"width\":800,\"height\":600,\"caption\":\"Install python2 and PIP 2 on Ubuntu 20.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-install-python-2-7-on-ubuntu-20-04-lts\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linux.how2shout.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Python 2.7 on Ubuntu 20.04 LTS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#website\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/\",\"name\":\"LinuxShout\",\"description\":\"Find the open source solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"},\"alternateName\":\"Linux how2shout\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linux.how2shout.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\",\"name\":\"LinuxShout\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Linux-Shout-Logo.png\",\"contentUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Linux-Shout-Logo.png\",\"width\":503,\"height\":349,\"caption\":\"LinuxShout\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/how2shout\",\"https:\\\/\\\/x.com\\\/h2smedia\",\"https:\\\/\\\/instagram.com\\\/h2smedia\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/h2smedia\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/how2shout\",\"https:\\\/\\\/youtube.com\\\/h2smedia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/person\\\/102d73e20384ea409022d5bafddc0f72\",\"name\":\"Heyan Maurya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"caption\":\"Heyan Maurya\"},\"description\":\"I have a keen interest in all kinds of technologies, from consumer-tech to enterprise solutions. However, I am still trying to learn Linux and whatever the problems I face, trying to give solutions for the same, here...\",\"sameAs\":[\"https:\\\/\\\/www.how2shout.com\\\/\"],\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/author\\\/heyan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install Python 2.7 on Ubuntu 20.04 LTS - LinuxShout","description":"Working commands to install Python 2.7 on Ubuntu 20.04 LTS Linux along with Pip 2 to install and run various server applications.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/","og_locale":"en_US","og_type":"article","og_title":"How to install Python 2.7 on Ubuntu 20.04 LTS","og_description":"Working commands to install Python 2.7 on Ubuntu 20.04 LTS Linux along with Pip 2 to install and run various server applications.","og_url":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/","og_site_name":"LinuxShout","article_publisher":"https:\/\/www.facebook.com\/how2shout","article_published_time":"2021-01-19T10:05:30+00:00","article_modified_time":"2024-06-18T05:57:23+00:00","og_image":[{"width":800,"height":600,"url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/01\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg","type":"image\/jpeg"}],"author":"Heyan Maurya","twitter_card":"summary_large_image","twitter_creator":"@h2smedia","twitter_site":"@h2smedia","twitter_misc":{"Written by":"Heyan Maurya","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/#article","isPartOf":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/"},"author":{"name":"Heyan Maurya","@id":"https:\/\/linux.how2shout.com\/#\/schema\/person\/102d73e20384ea409022d5bafddc0f72"},"headline":"How to install Python 2.7 on Ubuntu 20.04 LTS","datePublished":"2021-01-19T10:05:30+00:00","dateModified":"2024-06-18T05:57:23+00:00","mainEntityOfPage":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/"},"wordCount":412,"commentCount":3,"publisher":{"@id":"https:\/\/linux.how2shout.com\/#organization"},"image":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/#primaryimage"},"thumbnailUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/01\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg","keywords":["python","ubuntu","ubuntu 18.04","ubuntu 20.04","Ubuntu 21.04"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/#respond"]}],"copyrightYear":"2021","copyrightHolder":{"@id":"https:\/\/linux.how2shout.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/","url":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/","name":"How to install Python 2.7 on Ubuntu 20.04 LTS - LinuxShout","isPartOf":{"@id":"https:\/\/linux.how2shout.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/#primaryimage"},"image":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/#primaryimage"},"thumbnailUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/01\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg","datePublished":"2021-01-19T10:05:30+00:00","dateModified":"2024-06-18T05:57:23+00:00","description":"Working commands to install Python 2.7 on Ubuntu 20.04 LTS Linux along with Pip 2 to install and run various server applications.","breadcrumb":{"@id":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/#primaryimage","url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/01\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg","contentUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2021\/01\/Install-python2-and-PIP-2-on-Ubuntu-20.04.jpg","width":800,"height":600,"caption":"Install python2 and PIP 2 on Ubuntu 20.04"},{"@type":"BreadcrumbList","@id":"https:\/\/linux.how2shout.com\/how-to-install-python-2-7-on-ubuntu-20-04-lts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linux.how2shout.com\/"},{"@type":"ListItem","position":2,"name":"How to install Python 2.7 on Ubuntu 20.04 LTS"}]},{"@type":"WebSite","@id":"https:\/\/linux.how2shout.com\/#website","url":"https:\/\/linux.how2shout.com\/","name":"LinuxShout","description":"Find the open source solutions","publisher":{"@id":"https:\/\/linux.how2shout.com\/#organization"},"alternateName":"Linux how2shout","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linux.how2shout.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/linux.how2shout.com\/#organization","name":"LinuxShout","url":"https:\/\/linux.how2shout.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linux.how2shout.com\/#\/schema\/logo\/image\/","url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2020\/06\/Linux-Shout-Logo.png","contentUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2020\/06\/Linux-Shout-Logo.png","width":503,"height":349,"caption":"LinuxShout"},"image":{"@id":"https:\/\/linux.how2shout.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/how2shout","https:\/\/x.com\/h2smedia","https:\/\/instagram.com\/h2smedia","https:\/\/www.linkedin.com\/company\/h2smedia\/","https:\/\/www.pinterest.com\/how2shout","https:\/\/youtube.com\/h2smedia"]},{"@type":"Person","@id":"https:\/\/linux.how2shout.com\/#\/schema\/person\/102d73e20384ea409022d5bafddc0f72","name":"Heyan Maurya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","caption":"Heyan Maurya"},"description":"I have a keen interest in all kinds of technologies, from consumer-tech to enterprise solutions. However, I am still trying to learn Linux and whatever the problems I face, trying to give solutions for the same, here...","sameAs":["https:\/\/www.how2shout.com\/"],"url":"https:\/\/linux.how2shout.com\/author\/heyan\/"}]}},"_links":{"self":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/3279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/comments?post=3279"}],"version-history":[{"count":7,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/3279\/revisions"}],"predecessor-version":[{"id":23407,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/3279\/revisions\/23407"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/media\/3282"}],"wp:attachment":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/media?parent=3279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/categories?post=3279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/tags?post=3279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}