{"id":1545,"date":"2021-10-15T12:30:00","date_gmt":"2021-10-15T17:30:00","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=1545"},"modified":"2021-10-13T03:30:36","modified_gmt":"2021-10-13T08:30:36","slug":"how-to-install-python-3-9-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/","title":{"rendered":"How to Install Python 3.9 on Ubuntu 20.04"},"content":{"rendered":"\n<div id=\"linux-530170187\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>In the following article, we&#8217;ll walk through the installation of your Python 3.9 version with two options. Installing it directly from the APT repository or building the Python 3.9 from the source. Python is one of the world\u2019s most popular programming languages.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright is-resized\"><img decoding=\"async\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/install-python-3.9-on-ubuntu-20.04.png\" alt=\"install python 3.9 on ubuntu 20.04\" class=\"wp-image-1572\" width=\"218\" height=\"145\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/install-python-3.9-on-ubuntu-20.04.png 3000w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/install-python-3.9-on-ubuntu-20.04-300x200.png 300w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/install-python-3.9-on-ubuntu-20.04-1024x683.png 1024w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/install-python-3.9-on-ubuntu-20.04-768x512.png 768w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/install-python-3.9-on-ubuntu-20.04-1536x1024.png 1536w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/install-python-3.9-on-ubuntu-20.04-2048x1365.png 2048w\" sizes=\"(max-width: 218px) 100vw, 218px\" \/><\/figure><\/div>\n\n\n\n<p>It is a versatile language used to build all kinds of applications, from simple scripts to complex machine learning algorithms. With its simple and easy-to-learn syntax, Python is a popular choice for beginners and experienced developers. Next, you will learn how to install Python 3.9 on Ubuntu 20.04 version, using a few simple steps to complete this process.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Installing Python 3.9 on Ubuntu 20.04 with Apt<\/strong><\/h2>\n\n\n\n<p>Below we&#8217;ll show you how to install Python 3.9 using the apt cli from Python, we just need to follow the following steps.<\/p>\n\n\n\n<p>1 &#8211; We&#8217;ll start with the apt update and installation of the prerequisites.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt update -y\napt upgrade -y\napt install software-properties-common<\/pre>\n\n\n\n<p>2 &#8211; Once you finish the update and prerequisites installation, we need to add the deadsnakes PPA to our system&#8217;s sources list. The following command will do that:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add-apt-repository ppa:deadsnakes\/ppa<\/pre>\n\n\n\n<p>When prompted, you need to press <strong>[Enter] <\/strong>in order to continue.<\/p>\n\n\n\n<p>3- Then, you just need to install the python with this command, once the repository is successfully added.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt install python3.9<\/pre>\n\n\n\n<p>4- Once installed, you can verify the version installed with:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python3.9 --version<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">Output\nPython 3.9.7<\/pre>\n\n\n\n<p>That&#8217;s it, you successfully installed python3.9 on your server using APT<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Python 3.9 on Ubuntu 20.04 from Source<\/h2>\n\n\n\n<p>The benefit to install Python from the source is that it allows you to install the latest Python version and customize the build options. However, you will not be able to maintain your Python installation through the apt package manager. Since it was installed from the source.<\/p>\n\n\n\n<p>Bellow, we&#8217;ll learn how to do that.<\/p>\n\n\n\n<p>1- Update your server and be sure to install the necessary dependencies to build python:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt update -y\napt upgrade -y\napt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev -y<\/pre>\n\n\n\n<p>2- Download the latest release source code from<a href=\"https:\/\/www.python.org\/downloads\/source\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"> the Python download page<\/a> with wget installed on the last step. In this tutorial we are using the 3.9.7, the latest one today.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/www.python.org\/ftp\/python\/3.9.7\/Python-3.9.7.tgz<\/pre>\n\n\n\n<p>3- Now, we need to extract the python compressed file with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tar -xvf Python-3.9.7.tgz<\/pre>\n\n\n\n<p>4- We&#8217;ll start the build of our Python now, let&#8217;s enter the directory now and start the configure script.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd Python-3.9.7\/\n.\/configure --enable-optimizations<\/pre>\n\n\n\n<p>The flag &#8211;enable-optimizations is optional. It will optimize the python binary, but the build process will be slower.<\/p>\n\n\n\n<p>5 &#8211; Starting the build process with the make command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">make<\/pre>\n\n\n\n<p>6 &#8211; When the build process is complete, we&#8217;ll install the Python binaries by typing:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">make altinstall<\/pre>\n\n\n\n<p>7- Once the binaries are installed, you can test your python version with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python3.9 --version<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">Output\nPython 3.9.7<\/pre>\n\n\n\n<p>That&#8217;s it, you successfully installed Python 3.9 on your Ubuntu 20.04 server. You can now run your python scripts using the latest version available. We hope this tutorial on Python will help you, and don&#8217;t forget to leave a reply of appreciation below, in the comments section.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/installing-python-3.9-on-ubuntu-20.04-1024x851.png\" alt=\"\" class=\"wp-image-1576\" width=\"174\" height=\"145\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/installing-python-3.9-on-ubuntu-20.04-1024x851.png 1024w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/installing-python-3.9-on-ubuntu-20.04-300x249.png 300w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/installing-python-3.9-on-ubuntu-20.04-768x639.png 768w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/installing-python-3.9-on-ubuntu-20.04.png 1323w\" sizes=\"(max-width: 174px) 100vw, 174px\" \/><\/figure><\/div>\n\n\n\n<p>Alternatively, in case you are out of time and need to automate things, you can always subscribe to one of our <a href=\"https:\/\/www.rosehosting.com\/managed-cloud-hosting.html\" target=\"_blank\" rel=\"noopener\">managed Linux hosting<\/a> plans and let a team of industry experts do it for you, 100% free of charge. Thanks!<\/p><div id=\"linux-1959895596\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In the following article, we&#8217;ll walk through the installation of your Python 3.9 version with two options. Installing it directly from the APT repository or building the Python 3.9 from the source. Python is one of the world\u2019s most popular programming languages. It is a versatile language used to build all kinds of applications, from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1573,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,182],"tags":[199,205,206,174],"class_list":["post-1545","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-how-to-install","tag-python-3-9","tag-source","tag-ubuntu-20-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Python 3.9 on Ubuntu 20.04<\/title>\n<meta name=\"description\" content=\"In the following guide, users will learn how to install Python 3.9 on Ubuntu 20.04. Installing Python on Ubuntu is easy in a few steps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/\" \/>\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 3.9 on Ubuntu 20.04 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"In the following guide, users will learn how to install Python 3.9 on Ubuntu 20.04. Installing Python on Ubuntu is easy in a few steps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-15T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/how-to-install-python-3.9-on-ubuntu-20.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install Python 3.9 on Ubuntu 20.04 | LinuxHostSupport\" \/>\n<meta name=\"twitter:description\" content=\"In the following guide, users will learn how to install Python 3.9 on Ubuntu 20.04. Installing Python on Ubuntu is easy in a few steps.\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\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\":\"Article\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Install Python 3.9 on Ubuntu 20.04\",\"datePublished\":\"2021-10-15T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/\"},\"wordCount\":511,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/how-to-install-python-3.9-on-ubuntu-20.04.jpg\",\"keywords\":[\"how to install\",\"python 3.9\",\"source\",\"ubuntu 20.04\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/\",\"name\":\"How to Install Python 3.9 on Ubuntu 20.04\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/how-to-install-python-3.9-on-ubuntu-20.04.jpg\",\"datePublished\":\"2021-10-15T17:30:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In the following guide, users will learn how to install Python 3.9 on Ubuntu 20.04. Installing Python on Ubuntu is easy in a few steps.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/how-to-install-python-3.9-on-ubuntu-20.04.jpg\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/how-to-install-python-3.9-on-ubuntu-20.04.jpg\",\"width\":742,\"height\":372,\"caption\":\"how to install python 3.9 on ubuntu 20.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-python-3-9-on-ubuntu-20-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Python 3.9 on Ubuntu 20.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Python 3.9 on Ubuntu 20.04","description":"In the following guide, users will learn how to install Python 3.9 on Ubuntu 20.04. Installing Python on Ubuntu is easy in a few steps.","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:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Python 3.9 on Ubuntu 20.04 | LinuxHostSupport","og_description":"In the following guide, users will learn how to install Python 3.9 on Ubuntu 20.04. Installing Python on Ubuntu is easy in a few steps.","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2021-10-15T17:30:00+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/how-to-install-python-3.9-on-ubuntu-20.04.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_title":"How to Install Python 3.9 on Ubuntu 20.04 | LinuxHostSupport","twitter_description":"In the following guide, users will learn how to install Python 3.9 on Ubuntu 20.04. Installing Python on Ubuntu is easy in a few steps.","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Install Python 3.9 on Ubuntu 20.04","datePublished":"2021-10-15T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/"},"wordCount":511,"commentCount":1,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/how-to-install-python-3.9-on-ubuntu-20.04.jpg","keywords":["how to install","python 3.9","source","ubuntu 20.04"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/","name":"How to Install Python 3.9 on Ubuntu 20.04","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/how-to-install-python-3.9-on-ubuntu-20.04.jpg","datePublished":"2021-10-15T17:30:00+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In the following guide, users will learn how to install Python 3.9 on Ubuntu 20.04. Installing Python on Ubuntu is easy in a few steps.","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/how-to-install-python-3.9-on-ubuntu-20.04.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/10\/how-to-install-python-3.9-on-ubuntu-20.04.jpg","width":742,"height":372,"caption":"how to install python 3.9 on ubuntu 20.04"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-python-3-9-on-ubuntu-20-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Python 3.9 on Ubuntu 20.04"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=1545"}],"version-history":[{"count":7,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1545\/revisions"}],"predecessor-version":[{"id":1577,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1545\/revisions\/1577"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/1573"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=1545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=1545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=1545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}