{"id":471,"date":"2020-03-17T12:29:00","date_gmt":"2020-03-17T12:29:00","guid":{"rendered":"http:\/\/www.esds.co.in\/data-centers\/kb\/?p=471"},"modified":"2020-08-31T07:56:33","modified_gmt":"2020-08-31T07:56:33","slug":"installing-python-3-on-linux","status":"publish","type":"post","link":"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/","title":{"rendered":"Installation Guide for Python 3.6 on Linux"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"800\" height=\"480\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/Installation-Guide-for-Python-3.6-on-Linux.jpg\" alt=\"Installation Guide for Python 3.6 on Linux\" class=\"wp-image-3923\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/Installation-Guide-for-Python-3.6-on-Linux.jpg 800w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/Installation-Guide-for-Python-3.6-on-Linux-300x180.jpg 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/Installation-Guide-for-Python-3.6-on-Linux-768x461.jpg 768w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/Installation-Guide-for-Python-3.6-on-Linux-60x36.jpg 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/Installation-Guide-for-Python-3.6-on-Linux-150x90.jpg 150w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n\n<p>Python is a programming language of high level, interpreted, imperative, object-oriented, dynamically typed and strong. It\u2019s probably the programming language that is more easy and pleasant to deal with. It is a multi-platform language, i.e. the same program can run <strong>Python in Windows, UNIX, Linux, BSD, and MacOsX.<\/strong><\/p>\n\n\n\n<p>In this article, we will show how to install Python 3.6. Our major focus will be installing the core language tools that can be used in the command line.<\/p>\n\n\n\n<p>Furthermore, it&#8217;s essential to note that Python is very useful for a wide range of educational, enterprise, and scientific purposes \u2013 right from web development to desktop applications and to machine learning.<\/p>\n\n\n\n<p><strong>Steps to Install Python 3.6 on Linux<\/strong><\/p>\n\n\n\n<p>You can also install the core packages using <strong>yum<\/strong> and <strong>aptitude<\/strong> (or <strong>apt-get<\/strong>), you will get to know how to perform the installation from source instead.<\/p>\n\n\n\n<p>Thinking\nWhy? <\/p>\n\n\n\n<p>Because this enables us to get the latest stable version of the language (3.6) and to give a distribution-agnostic installation procedure. Before installing Python in CentOS 7, make sure your system has all the required development-dependencies. <\/p>\n\n\n\n<p>To check, use the below command. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"606\" height=\"73\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/1-1.png\" alt=\"\" class=\"wp-image-3929\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/1-1.png 606w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/1-1-300x36.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/1-1-60x7.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/1-1-150x18.png 150w\" sizes=\"(max-width: 606px) 100vw, 606px\" \/><\/figure><\/div>\n\n\n\n<p>For Debian,\u00a0you need to install gcc, make, and the zlib compression\/decompression library by using below command: <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"605\" height=\"32\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/2-2.png\" alt=\"\" class=\"wp-image-3931\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/2-2.png 605w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/2-2-300x16.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/2-2-60x3.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/2-2-150x8.png 150w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/figure><\/div>\n\n\n\n<p>Run the below commands to install\u00a0Python 3.6: <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"91\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/3-1.png\" alt=\"\" class=\"wp-image-3932\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/3-1.png 605w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/3-1-300x45.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/3-1-60x9.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/3-1-150x23.png 150w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"94\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/4-1.png\" alt=\"\" class=\"wp-image-3933\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/4-1.png 606w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/4-1-300x47.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/4-1-60x9.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/4-1-150x23.png 150w\" sizes=\"(max-width: 606px) 100vw, 606px\" \/><\/figure><\/div>\n\n\n\n<p>Now you need to wait for some time because this may take a few minutes. Once the installation is done, use <strong>which<\/strong> to verify the location of the main binary as shown below: <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"603\" height=\"53\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/5-1.png\" alt=\"\" class=\"wp-image-3934\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/5-1.png 603w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/5-1-300x26.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/5-1-60x5.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/5-1-150x13.png 150w\" sizes=\"(max-width: 603px) 100vw, 603px\" \/><\/figure><\/div>\n\n\n\n<p>Here is the output generated of the above command and this must be similar to: <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/6.png\" alt=\"\" class=\"wp-image-3921\" width=\"582\" height=\"198\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/6.png 569w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/6-300x102.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/6-60x20.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/6-150x51.png 150w\" sizes=\"(max-width: 582px) 100vw, 582px\" \/><\/figure><\/div>\n\n\n\n<p> To exit the Python prompt, type. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"52\" src=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/7-1.png\" alt=\"\" class=\"wp-image-3935\" srcset=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/7-1.png 606w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/7-1-300x26.png 300w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/7-1-60x5.png 60w, https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/7-1-150x13.png 150w\" sizes=\"(max-width: 606px) 100vw, 606px\" \/><\/figure><\/div>\n\n\n\n<p>Then press Enter. That\u2019s it! At this point, Python 3.6 is installed on your system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python is a programming language of high level, interpreted, imperative, object-oriented, dynamically typed and strong. It\u2019s probably the programming language that is more easy and pleasant to deal with. It is a multi-platform language, i.e. the same program can run Python in Windows, UNIX, Linux, BSD, and MacOsX. In this article, we will show how [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[960,962,43,961,958,959,194,23],"class_list":["post-471","post","type-post","status-publish","format-standard","hentry","category-general","tag-bsd","tag-install-python-3-6","tag-linux","tag-macosx","tag-python-3-6","tag-python-3-6-on-linux","tag-unix","tag-windows"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.9.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Installation Guide for Python 3.6 on Linux - ESDS<\/title>\n<meta name=\"description\" content=\"Python is a programming language of high level, interpreted, imperative, object-oriented, dynamically typed and strong.\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installation Guide for Python 3.6 on Linux - ESDS\" \/>\n<meta property=\"og:description\" content=\"Python is a programming language of high level, interpreted, imperative, object-oriented, dynamically typed and strong.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"ESDS Official Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ESDSdc\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-17T12:29:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-31T07:56:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/Installation-Guide-for-Python-3.6-on-Linux.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:site\" content=\"@ESDSDataCenter\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"ESDS Official Knowledgebase\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.esds.co.in\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.esds.co.in\/kb\/wp-content\/uploads\/2020\/02\/Installation-Guide-for-Python-3.6-on-Linux.jpg\",\"width\":800,\"height\":480},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/#webpage\",\"url\":\"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/\",\"name\":\"Installation Guide for Python 3.6 on Linux - ESDS\",\"isPartOf\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/#primaryimage\"},\"datePublished\":\"2020-03-17T12:29:00+00:00\",\"dateModified\":\"2020-08-31T07:56:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/4344af4dd22cdad2ba4c1de386afe0bf\"},\"description\":\"Python is a programming language of high level, interpreted, imperative, object-oriented, dynamically typed and strong.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/\",\"url\":\"https:\/\/www.esds.co.in\/kb\/installing-python-3-on-linux\/\",\"name\":\"Installation Guide for Python 3.6 on Linux\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#\/schema\/person\/4344af4dd22cdad2ba4c1de386afe0bf\",\"name\":\"Niteesha Birari\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.esds.co.in\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/bbd03f3dc3acb56d751ad189f2378b54c5f0d32b1cef2bd36b0748bfc7d13841?s=96&d=mm&r=g\",\"caption\":\"Niteesha Birari\"},\"description\":\"Niteesha is a Senior Specialist at ESDS, working closely with the Governance Team to drive innovation, efficiency, and compliance across projects. With a strong passion for cloud technologies and digital innovation, she plays a key role in designing and maintaining the organization\\u2019s information architecture, ensuring seamless data accessibility and system efficiency. Known for her sharp analytical mindset and clear communication, Niteesha has extensive experience in crafting high-quality technical documentation\\u2014including articles, user guides, and service manuals\\u2014that simplify complex software products and services for diverse audiences.\",\"sameAs\":[\"https:\/\/esds.co.in\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/comments?post=471"}],"version-history":[{"count":14,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/471\/revisions"}],"predecessor-version":[{"id":3937,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/posts\/471\/revisions\/3937"}],"wp:attachment":[{"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/media?parent=471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/categories?post=471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esds.co.in\/kb\/wp-json\/wp\/v2\/tags?post=471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}