{"id":6364,"date":"2021-05-07T10:32:53","date_gmt":"2021-05-07T05:02:53","guid":{"rendered":"https:\/\/www.skynats.com\/?p=6364"},"modified":"2021-10-28T13:21:11","modified_gmt":"2021-10-28T07:51:11","slug":"installing-python3-9","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/installing-python3-9\/","title":{"rendered":"Installing Python 3.9 on Ubuntu, Debian &#038; LinuxMint"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>Python is a high-level programming language and object-oriented. Python 3.9 has been released with advanced security updates and with various changes in it that include multiple new modules and improved existing modules and new features.<\/p>\n\n\n\n<p>Our technical team support will help you with how to install python 3.9 on ubuntu, Debian, and the linuxmint Nagios- related issues under our\u00a0<a href=\"https:\/\/www.skynats.com\/linux-server-management\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span style=\"color:#036995\" class=\"has-inline-color\">server management<\/span><\/a> plan. You can also take assistance from our technical team support 24\/7 for fixing the error or any sort of installation and migration<\/p>\n\n\n\n<p>The latest python 3.9 stable version is now available for the products used, the Debian-based Linux distributions including the older version of Python in software repositories but the Debian package is not available in all distributions. Let\u2019s have a glance at the article where you can learn to compile python 3.9 from source code and install it on Debian.\u00a0<\/p>\n\n\n\n<p>Following the steps will help you with how to install Python 3.9 on Ubuntu, Debian, and LinuxMint systems using source code.<\/p>\n\n\n\n<p>Prerequisites<\/p>\n\n\n\n<p>Initially, login into the Debian system. Open a terminal (CTRL+ALT+T) follow the below command to update packages.&nbsp;&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt upgrade<\/code><\/pre>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<p>Install required package for the compilation of python source code.<\/p>\n\n\n\n<p>Then install the required packages for the compilation of Python source code.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install wget build-essential libreadline-gplv2-dev libncursesw5-dev \\\n  libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>&nbsp;Installing Python 3.9&nbsp;<\/p>\n\n\n\n<p>From the official website try to install python&#8217;s latest version source code.<\/p>\n\n\n\n<p>Later compile the source code with your system and install it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to install python 3.9 on the Debian system<\/h2>\n\n\n\n<p>Execute the following commands and install python 3.9 source from its official site.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/www.python.org\/ftp\/python\/3.9.4\/Python-3.9.4.tgz <\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>Once the installation has completed then extract the archive file on your system.<\/li><li>Once the download is completed, extract the archive file on your system.<\/li><li>tar xzf Python-3.9.4.tgz&nbsp;<\/li><li>By using the cd command and try to change the extracted directory, then prepare the Python source code for the compilation on your system.<\/li><li>cd Python-3.9.4&nbsp;<\/li><li>.\/configure &#8211;enable-optimizations&nbsp;<\/li><li>Finally, execute the command to complete the python installation process on the Debian system. The altinstall prevents the compiler to override default Python versions.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code> $ make altinstall <\/code><\/pre>\n\n\n\n<p>Wait until the python installation completes.<\/p>\n\n\n\n<p>Check Python Version<\/p>\n\n\n\n<p>Later, installing python 3.9 on Debian 10 system. Check python 3.9 by using the python version, execute the command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python3.9 -V \nPython 3.9.4<\/code><\/pre>\n\n\n\n<p>This will also install pip for Python 3.9.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip3.9 -V \npip 20.2.3 from \/usr\/local\/lib\/python3.9\/site-packages\/pip (python 3.9)<\/code><\/pre>\n\n\n\n<p>That&#8217;s all you have successfully installed Python 3.9 on Debian 10 system.<\/p>\n\n\n\n<p><strong>Conclusion<\/strong><\/p>\n\n\n\n<p>In Short, Follow the steps to install Python 3.9 on Ubuntu, Debian, and LinuxMint systems using source code. Need assistance, you can take our <a href=\"https:\/\/www.skynats.com\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span style=\"color:#056892\" class=\"has-inline-color\">technical team<\/span><\/a> support to install python 3.9 on Debian on your behalf.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python is a high-level programming language and object-oriented. Python 3.9 has been released with advanced security updates and with various changes in it that include multiple new modules and improved existing modules and new features. Our technical team support will help you with how to install python 3.9 on ubuntu, Debian, and the linuxmint Nagios- [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,328],"tags":[648,649,647],"class_list":["post-6364","post","type-post","status-publish","format-standard","hentry","category-blog","category-debian","tag-python-3-9-on-debian","tag-python-3-9-on-linuxmint","tag-python-3-9-on-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Installing Python 3.9 on Ubuntu, Debian &amp; LinuxMint | Skynats<\/title>\n<meta name=\"description\" content=\"Steps to install Python 3.9 on Ubuntu, Debian, and LinuxMint systems using source code. Need assistance? 24\/7 technical team support\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.skynats.com\/blog\/installing-python3-9\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing Python 3.9 on Ubuntu, Debian &amp; LinuxMint\" \/>\n<meta property=\"og:description\" content=\"Steps to install Python 3.9 on Ubuntu, Debian, and LinuxMint systems using source code. Need assistance? 24\/7 technical team support\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.skynats.com\/blog\/installing-python3-9\/\" \/>\n<meta property=\"og:site_name\" content=\"Server Management Services | Cloud Management | Skynats\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/skynats\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-07T05:02:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-28T07:51:11+00:00\" \/>\n<meta name=\"author\" content=\"Pooja V\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@skynatstech\" \/>\n<meta name=\"twitter:site\" content=\"@skynatstech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pooja V\" \/>\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:\\\/\\\/www.skynats.com\\\/blog\\\/installing-python3-9\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/installing-python3-9\\\/\"},\"author\":{\"name\":\"Pooja V\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/person\\\/030d5856dd5166055eecc07218d2455e\"},\"headline\":\"Installing Python 3.9 on Ubuntu, Debian &#038; LinuxMint\",\"datePublished\":\"2021-05-07T05:02:53+00:00\",\"dateModified\":\"2021-10-28T07:51:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/installing-python3-9\\\/\"},\"wordCount\":420,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\"},\"keywords\":[\"python 3.9 on debian\",\"python 3.9 on linuxmint\",\"python 3.9 on ubuntu\"],\"articleSection\":[\"Blog\",\"Debian\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.skynats.com\\\/blog\\\/installing-python3-9\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/installing-python3-9\\\/\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/installing-python3-9\\\/\",\"name\":\"Installing Python 3.9 on Ubuntu, Debian & LinuxMint | Skynats\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#website\"},\"datePublished\":\"2021-05-07T05:02:53+00:00\",\"dateModified\":\"2021-10-28T07:51:11+00:00\",\"description\":\"Steps to install Python 3.9 on Ubuntu, Debian, and LinuxMint systems using source code. Need assistance? 24\\\/7 technical team support\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/installing-python3-9\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.skynats.com\\\/blog\\\/installing-python3-9\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/installing-python3-9\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing Python 3.9 on Ubuntu, Debian &#038; LinuxMint\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\",\"name\":\"Server Management Services | Cloud Management | Skynats\",\"description\":\"Server Management and Cloud Management\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\",\"name\":\"Skynats Technologies\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Sknats-Logo-New-whole.png\",\"contentUrl\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Sknats-Logo-New-whole.png\",\"width\":989,\"height\":367,\"caption\":\"Skynats Technologies\"},\"image\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/skynats\",\"https:\\\/\\\/x.com\\\/skynatstech\",\"https:\\\/\\\/www.instagram.com\\\/skynatstech\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/skynats-technologies\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCvTAjrFJ4_E2MJKwlDHomlg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/person\\\/030d5856dd5166055eecc07218d2455e\",\"name\":\"Pooja V\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g\",\"caption\":\"Pooja V\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Installing Python 3.9 on Ubuntu, Debian & LinuxMint | Skynats","description":"Steps to install Python 3.9 on Ubuntu, Debian, and LinuxMint systems using source code. Need assistance? 24\/7 technical team support","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:\/\/www.skynats.com\/blog\/installing-python3-9\/","og_locale":"en_US","og_type":"article","og_title":"Installing Python 3.9 on Ubuntu, Debian & LinuxMint","og_description":"Steps to install Python 3.9 on Ubuntu, Debian, and LinuxMint systems using source code. Need assistance? 24\/7 technical team support","og_url":"https:\/\/www.skynats.com\/blog\/installing-python3-9\/","og_site_name":"Server Management Services | Cloud Management | Skynats","article_publisher":"https:\/\/www.facebook.com\/skynats","article_published_time":"2021-05-07T05:02:53+00:00","article_modified_time":"2021-10-28T07:51:11+00:00","author":"Pooja V","twitter_card":"summary_large_image","twitter_creator":"@skynatstech","twitter_site":"@skynatstech","twitter_misc":{"Written by":"Pooja V","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.skynats.com\/blog\/installing-python3-9\/#article","isPartOf":{"@id":"https:\/\/www.skynats.com\/blog\/installing-python3-9\/"},"author":{"name":"Pooja V","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/person\/030d5856dd5166055eecc07218d2455e"},"headline":"Installing Python 3.9 on Ubuntu, Debian &#038; LinuxMint","datePublished":"2021-05-07T05:02:53+00:00","dateModified":"2021-10-28T07:51:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.skynats.com\/blog\/installing-python3-9\/"},"wordCount":420,"commentCount":0,"publisher":{"@id":"https:\/\/www.skynats.com\/blog\/#organization"},"keywords":["python 3.9 on debian","python 3.9 on linuxmint","python 3.9 on ubuntu"],"articleSection":["Blog","Debian"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.skynats.com\/blog\/installing-python3-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.skynats.com\/blog\/installing-python3-9\/","url":"https:\/\/www.skynats.com\/blog\/installing-python3-9\/","name":"Installing Python 3.9 on Ubuntu, Debian & LinuxMint | Skynats","isPartOf":{"@id":"https:\/\/www.skynats.com\/blog\/#website"},"datePublished":"2021-05-07T05:02:53+00:00","dateModified":"2021-10-28T07:51:11+00:00","description":"Steps to install Python 3.9 on Ubuntu, Debian, and LinuxMint systems using source code. Need assistance? 24\/7 technical team support","breadcrumb":{"@id":"https:\/\/www.skynats.com\/blog\/installing-python3-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.skynats.com\/blog\/installing-python3-9\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.skynats.com\/blog\/installing-python3-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.skynats.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Installing Python 3.9 on Ubuntu, Debian &#038; LinuxMint"}]},{"@type":"WebSite","@id":"https:\/\/www.skynats.com\/blog\/#website","url":"https:\/\/www.skynats.com\/blog\/","name":"Server Management Services | Cloud Management | Skynats","description":"Server Management and Cloud Management","publisher":{"@id":"https:\/\/www.skynats.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.skynats.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.skynats.com\/blog\/#organization","name":"Skynats Technologies","url":"https:\/\/www.skynats.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2021\/08\/Sknats-Logo-New-whole.png","contentUrl":"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2021\/08\/Sknats-Logo-New-whole.png","width":989,"height":367,"caption":"Skynats Technologies"},"image":{"@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/skynats","https:\/\/x.com\/skynatstech","https:\/\/www.instagram.com\/skynatstech\/","https:\/\/www.linkedin.com\/company\/skynats-technologies","https:\/\/www.youtube.com\/channel\/UCvTAjrFJ4_E2MJKwlDHomlg"]},{"@type":"Person","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/person\/030d5856dd5166055eecc07218d2455e","name":"Pooja V","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/acf2642637f84bdab7ffece47787a6a4ee655dab6404beac2a1a33db563041c4?s=96&d=mm&r=g","caption":"Pooja V"}}]}},"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/6364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=6364"}],"version-history":[{"count":0,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/6364\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=6364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=6364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=6364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}