{"id":9442,"date":"2024-05-03T11:20:35","date_gmt":"2024-05-03T11:20:35","guid":{"rendered":"https:\/\/shivlab.com\/blog\/\/"},"modified":"2024-05-03T13:00:42","modified_gmt":"2024-05-03T13:00:42","slug":"how-to-install-python-in-ubuntu","status":"publish","type":"post","link":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/","title":{"rendered":"How to Install Python in Ubuntu?"},"content":{"rendered":"<p>Python is a well-known programming language used for building large programs and different software applications as well. You must have Installed Python Packages to work on Python Projects. Whichever OS you\u2019re using, be it Windows, Linux or MacOS; having a downloaded Python Package is necessary.<\/p>\n<p>Ubuntu has an inbuilt Python Package that makes it ready to work with Python Language. However, in the Latest Ubuntu Version 23.10, one needs to install python before they can use it. There are various ways of Installing Python in Ubuntu through Linux Terminal or Command Line Tool.<\/p>\n<ul class=\"orangeList\">\n<li><strong>Method 1:<\/strong> Install Python on Ubuntu using APT Installer<\/li>\n<li><strong>Method 2:<\/strong> Install Python on Ubuntu using using Repository<\/li>\n<li><strong>Method 3:<\/strong> Install Python on Ubuntu using the Source Link<\/li>\n<\/ul>\n<p>We will talk about a few ways to get Python in Ubuntu without taking a lot of time.<\/p>\n<h3>Methods to Install Python on Ubuntu<\/h3>\n<hr \/>\n<p>For they can be downloaded and installed python modules in Ubuntu, use any of the following methods. We\u2019ll begin with the APT installer method.<\/p>\n<h4><strong>Method 1:<\/strong> Install Python on Ubuntu using APT Installer<\/h4>\n<p><strong>Step 1:<\/strong> Open the terminal in Linux and then run this command which will update all packages that have been installed through it.<\/p>\n<p><strong>Command:<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">sudo apt update<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9446\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-1_Nero-AI_Face_x4.png\" alt=\"python-install-1_Nero AI_Face_x4\" width=\"4048\" height=\"1372\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-1_Nero-AI_Face_x4.png 4048w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-1_Nero-AI_Face_x4-300x102.png 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-1_Nero-AI_Face_x4-1024x347.png 1024w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-1_Nero-AI_Face_x4-768x260.png 768w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-1_Nero-AI_Face_x4-1536x521.png 1536w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-1_Nero-AI_Face_x4-2048x694.png 2048w\" sizes=\"auto, (max-width: 4048px) 100vw, 4048px\" \/><\/p>\n<p><strong>Step 2:<\/strong> Immediately paste the below command into Terminal and run it. The most recent Python File will instantly be downloaded.<\/p>\n<p><strong>Command:<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">sudo apt install python&#x5B;version number]<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9445\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-2_Nero-AI_Face_x4.png\" alt=\"python-install-2_Nero AI_Face_x4\" width=\"4036\" height=\"1544\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-2_Nero-AI_Face_x4.png 4036w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-2_Nero-AI_Face_x4-300x115.png 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-2_Nero-AI_Face_x4-1024x392.png 1024w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-2_Nero-AI_Face_x4-768x294.png 768w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-2_Nero-AI_Face_x4-1536x588.png 1536w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-2_Nero-AI_Face_x4-2048x783.png 2048w\" sizes=\"auto, (max-width: 4036px) 100vw, 4036px\" \/><\/p>\n<p>Congrats! Only two commands are sufficient for Python installation on Ubuntu without any problems.<\/p>\n<h4><strong>Method 2:<\/strong> Install Python on Ubuntu using Repository<\/h4>\n<p><strong>Step 1:<\/strong> The following command will be used in Linux Terminal. It will begin accessing the Repository of the Python Module.<\/p>\n<p><strong>Command:<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">sudo apt install software-properties-common<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9447\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-3_Nero-AI_Face_x4.png\" alt=\"python-install-3_Nero AI_Face_x4\" width=\"4008\" height=\"1260\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-3_Nero-AI_Face_x4.png 4008w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-3_Nero-AI_Face_x4-300x94.png 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-3_Nero-AI_Face_x4-1024x322.png 1024w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-3_Nero-AI_Face_x4-768x241.png 768w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-3_Nero-AI_Face_x4-1536x483.png 1536w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-3_Nero-AI_Face_x4-2048x644.png 2048w\" sizes=\"auto, (max-width: 4008px) 100vw, 4008px\" \/><\/p>\n<p><strong>Step 2:<\/strong> Now, execute the following command to download a Python package on your device.<\/p>\n<p><strong>Command:<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">sudo add-apt-repository ppa:deadsnakes\/ppa<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9448\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-4_Nero-AI_Face_x4.png\" alt=\"python-install-4_Nero AI_Face_x4\" width=\"4072\" height=\"612\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-4_Nero-AI_Face_x4.png 4072w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-4_Nero-AI_Face_x4-300x45.png 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-4_Nero-AI_Face_x4-1024x154.png 1024w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-4_Nero-AI_Face_x4-768x115.png 768w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-4_Nero-AI_Face_x4-1536x231.png 1536w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-4_Nero-AI_Face_x4-2048x308.png 2048w\" sizes=\"auto, (max-width: 4072px) 100vw, 4072px\" \/><\/p>\n<p><strong>Step 3:<\/strong> Type the below command into your Ubuntu machine to download any version of Python, even those that were released a while ago.<\/p>\n<p><strong>Command:<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">sudo apt-get install python&#x5B;version number]<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9449\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-5_Nero-AI_Face_x4.png\" alt=\"python-install-5_Nero AI_Face_x4\" width=\"4052\" height=\"1476\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-5_Nero-AI_Face_x4.png 4052w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-5_Nero-AI_Face_x4-300x109.png 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-5_Nero-AI_Face_x4-1024x373.png 1024w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-5_Nero-AI_Face_x4-768x280.png 768w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-5_Nero-AI_Face_x4-1536x560.png 1536w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-5_Nero-AI_Face_x4-2048x746.png 2048w\" sizes=\"auto, (max-width: 4052px) 100vw, 4052px\" \/><\/p>\n<p>Thus, we have effectively installed Python onto Ubuntu via the Repository Module.<\/p>\n<h4><strong>Method 3:<\/strong> Install Python on Ubuntu using the Source Link<\/h4>\n<p><strong>Step 1:<\/strong> Visit the Official Python Page and copy any version\u2019s Gzipped Source Tarball link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9462\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-6.png\" alt=\"python-install-6\" width=\"973\" height=\"240\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-6.png 973w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-6-300x74.png 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-6-768x189.png 768w\" sizes=\"auto, (max-width: 973px) 100vw, 973px\" \/><\/p>\n<p><strong>Step 2:<\/strong> In the Linux Terminal, paste the link as shown below.<\/p>\n<p><strong>Command:<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">sudo wget<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9451\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-7_Nero-AI_Photo_x4.png\" alt=\"python-install-7_Nero AI_Photo_x4\" width=\"4108\" height=\"1244\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-7_Nero-AI_Photo_x4.png 4108w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-7_Nero-AI_Photo_x4-300x91.png 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-7_Nero-AI_Photo_x4-1024x310.png 1024w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-7_Nero-AI_Photo_x4-768x233.png 768w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-7_Nero-AI_Photo_x4-1536x465.png 1536w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-7_Nero-AI_Photo_x4-2048x620.png 2048w\" sizes=\"auto, (max-width: 4108px) 100vw, 4108px\" \/><\/p>\n<p><strong>Step 3:<\/strong>\u00a0Extract the\u00a0Downloaded TGZ File\u00a0using the following Linux Command.<\/p>\n<p><strong>Command:<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">tar -xf .tgz<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9452\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-8_Nero-AI_Photo_x4.png\" alt=\"python-install-8_Nero AI_Photo_x4\" width=\"4088\" height=\"884\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-8_Nero-AI_Photo_x4.png 4088w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-8_Nero-AI_Photo_x4-300x65.png 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-8_Nero-AI_Photo_x4-1024x221.png 1024w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-8_Nero-AI_Photo_x4-768x166.png 768w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-8_Nero-AI_Photo_x4-1536x332.png 1536w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-8_Nero-AI_Photo_x4-2048x443.png 2048w\" sizes=\"auto, (max-width: 4088px) 100vw, 4088px\" \/><\/p>\n<p><strong>Step 4:<\/strong>\u00a0Now, the following command should be executed to\u00a0Configure\u00a0the extracted file before installation.<\/p>\n<p><strong>Command:<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">.\/configure --enable-optimizations<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9453\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-9_Nero-AI_Photo_x2.png\" alt=\"python-install-9_Nero AI_Photo_x2\" width=\"2028\" height=\"260\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-9_Nero-AI_Photo_x2.png 2028w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-9_Nero-AI_Photo_x2-300x38.png 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-9_Nero-AI_Photo_x2-1024x131.png 1024w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-9_Nero-AI_Photo_x2-768x98.png 768w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-9_Nero-AI_Photo_x2-1536x197.png 1536w\" sizes=\"auto, (max-width: 2028px) 100vw, 2028px\" \/><\/p>\n<p><strong>Step 5:<\/strong>\u00a0At last, the following command will be used to\u00a0Directly Install\u00a0the file on the system.<\/p>\n<p><strong>Command:<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">sudo make install<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-9454\" src=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-10_Nero-AI_Photo_x4.png\" alt=\"python-install-10_Nero AI_Photo_x4\" width=\"4032\" height=\"1768\" srcset=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-10_Nero-AI_Photo_x4.png 4032w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-10_Nero-AI_Photo_x4-300x132.png 300w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-10_Nero-AI_Photo_x4-1024x449.png 1024w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-10_Nero-AI_Photo_x4-768x337.png 768w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-10_Nero-AI_Photo_x4-1536x674.png 1536w, http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/python-install-10_Nero-AI_Photo_x4-2048x898.png 2048w\" sizes=\"auto, (max-width: 4032px) 100vw, 4032px\" \/><\/p>\n<h4>Conclusion<\/h4>\n<hr \/>\n<p>There are 3 different methods to start Python once it has been installed on an Ubuntu computer. Each of these methods involves a series of steps, but each goes about them differently. The right choice depends on what someone likes and what they need to do. Users can choose the command line interface, an integrated development environment (IDE), or a text editor\u2014whichever works best with their workflow. Python itself is flexible and powerful no matter how it\u2019s used; any method will let coders write and run programs smoothly in Ubuntu.<\/p>\n<p>To run Python on Ubuntu, <a href=\"http:\/\/167.86.116.248\/shivlab\/\" rel=\"noopener\">Shiv Technolabs<\/a> suggests that one uses the most suitable method. They are well-versed in many different technological options and they strive to help their clients make the best use of Python for work optimization. They offer specific advice and assistance so as to enable people take advantage of its flexibility without any difficulty while also increasing productivity and achieving desired results through this language.<\/p>\n<h4 class=\"h3\">Frequently Asked Questions<\/h4>\n<hr \/>\n<p><strong><span style=\"color: #ff8625;\">1. <\/span>Can I have more than one version of Python on Ubuntu?<\/strong><\/p>\n<p>Definitely! On Ubuntu, you are allowed to install and operate multiple versions of Python at a go. Tools such as pyenv or update-alternatives can be instrumental in this.<\/p>\n<p><strong><span style=\"color: #ff8625;\">2. <\/span>How can I check if Python is installed correctly on Ubuntu?<\/strong><\/p>\n<p>To confirm that the installation process was successful, open the terminal and type python3 &#8211;version. If Python has been properly installed, it will display the version that has been installed.<\/p>\n<p><strong><span style=\"color: #ff8625;\">3. <\/span>Should I get Python from the official website or use Ubuntu repositories?<\/strong><\/p>\n<p>Although you might want to use a specific version from the official website, it is usually recommended that you install Python through apt from Ubuntu repositories since it ensures compatibility as well as easy updates.<\/p>\n<p><strong><span style=\"color: #ff8625;\">4. <\/span>Do I require additional packages or libraries once I have installed Python on Ubuntu?<\/strong><\/p>\n<p>Maybe \u2014 it depends on what you need. Essential packages come with the default installation of python in ubuntu but for some projects or tasks, particular libraries must be installed using pip which is python\u2019s package manager.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Release the capacity of Python on Ubuntu without difficulty. With simple instructions, install Python in no time. Whatever your level of experience; be it a novice or an expert, begin quickly and explore programming innovation now.<\/p>\n","protected":false},"author":4,"featured_media":9456,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-9442","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to install Python in Ubuntu? - Step by Step Guide<\/title>\n<meta name=\"description\" content=\"Looking to install Python on your Ubuntu system? Our step-by-step guide will walk you through the process, making it easy to get started with coding and running Python scripts efficiently on Ubuntu.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/\" \/>\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 in Ubuntu? - Step by Step Guide\" \/>\n<meta property=\"og:description\" content=\"Looking to install Python on your Ubuntu system? Our step-by-step guide will walk you through the process, making it easy to get started with coding and running Python scripts efficiently on Ubuntu.\" \/>\n<meta property=\"og:url\" content=\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Shiv Technolabs Pvt. Ltd.\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ShivTechnolabs\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/dipen.majithiya\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-03T11:20:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T13:00:42+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/stl-blog-web-latest-featured.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1140\" \/>\n\t<meta property=\"og:image:height\" content=\"762\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Dipen Majithiya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dip_majithiya\" \/>\n<meta name=\"twitter:site\" content=\"@Shiv_Technolabs\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dipen Majithiya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/\"},\"author\":{\"name\":\"Dipen Majithiya\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206\"},\"headline\":\"How to Install Python in Ubuntu?\",\"datePublished\":\"2024-05-03T11:20:35+00:00\",\"dateModified\":\"2024-05-03T13:00:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/\"},\"wordCount\":812,\"publisher\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#organization\"},\"image\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/stl-blog-web-latest-featured.jpg\",\"articleSection\":[\"Web Development\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/\",\"name\":\"How to install Python in Ubuntu? - Step by Step Guide\",\"isPartOf\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/stl-blog-web-latest-featured.jpg\",\"datePublished\":\"2024-05-03T11:20:35+00:00\",\"dateModified\":\"2024-05-03T13:00:42+00:00\",\"description\":\"Looking to install Python on your Ubuntu system? Our step-by-step guide will walk you through the process, making it easy to get started with coding and running Python scripts efficiently on Ubuntu.\",\"breadcrumb\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#primaryimage\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/stl-blog-web-latest-featured.jpg\",\"contentUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/stl-blog-web-latest-featured.jpg\",\"width\":1140,\"height\":762,\"caption\":\"stl-blog-web-latest-featured\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/167.86.116.248\/shivlab\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Python in Ubuntu?\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#website\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/\",\"name\":\"Shiv Technolabs Pvt. Ltd.\",\"description\":\"\",\"publisher\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/167.86.116.248\/shivlab\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#organization\",\"name\":\"Shiv Technolabs Pvt. Ltd\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png\",\"contentUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png\",\"width\":1280,\"height\":371,\"caption\":\"Shiv Technolabs Pvt. Ltd\"},\"image\":{\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ShivTechnolabs\/\",\"https:\/\/x.com\/Shiv_Technolabs\",\"https:\/\/www.linkedin.com\/company\/shivtechnolabs\/\",\"https:\/\/www.instagram.com\/shivtechnolabs\/\",\"https:\/\/in.pinterest.com\/ShivTechnolabs\/\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206\",\"name\":\"Dipen Majithiya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png\",\"contentUrl\":\"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png\",\"caption\":\"Dipen Majithiya\"},\"description\":\"I am a proactive chief technology officer (CTO) of Shiv Technolabs. I have 10+ years of experience in eCommerce, mobile apps, and web development in the tech industry. I am Known for my strategic insight and have mastered core technical domains. I have empowered numerous business owners with bespoke solutions, fearlessly taking calculated risks and harnessing the latest technological advancements.\",\"sameAs\":[\"http:\/\/167.86.116.248\/shivlab\/\",\"https:\/\/www.facebook.com\/dipen.majithiya\",\"https:\/\/www.linkedin.com\/in\/dipenmajithiya\/\",\"https:\/\/x.com\/dip_majithiya\"],\"url\":\"http:\/\/167.86.116.248\/shivlab\/author\/dipen_majithiya\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install Python in Ubuntu? - Step by Step Guide","description":"Looking to install Python on your Ubuntu system? Our step-by-step guide will walk you through the process, making it easy to get started with coding and running Python scripts efficiently on Ubuntu.","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":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to install Python in Ubuntu? - Step by Step Guide","og_description":"Looking to install Python on your Ubuntu system? Our step-by-step guide will walk you through the process, making it easy to get started with coding and running Python scripts efficiently on Ubuntu.","og_url":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/","og_site_name":"Shiv Technolabs Pvt. Ltd.","article_publisher":"https:\/\/www.facebook.com\/ShivTechnolabs\/","article_author":"https:\/\/www.facebook.com\/dipen.majithiya","article_published_time":"2024-05-03T11:20:35+00:00","article_modified_time":"2024-05-03T13:00:42+00:00","og_image":[{"width":1140,"height":762,"url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/stl-blog-web-latest-featured.jpg","type":"image\/jpeg"}],"author":"Dipen Majithiya","twitter_card":"summary_large_image","twitter_creator":"@dip_majithiya","twitter_site":"@Shiv_Technolabs","twitter_misc":{"Written by":"Dipen Majithiya","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#article","isPartOf":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/"},"author":{"name":"Dipen Majithiya","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206"},"headline":"How to Install Python in Ubuntu?","datePublished":"2024-05-03T11:20:35+00:00","dateModified":"2024-05-03T13:00:42+00:00","mainEntityOfPage":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/"},"wordCount":812,"publisher":{"@id":"http:\/\/167.86.116.248\/shivlab\/#organization"},"image":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#primaryimage"},"thumbnailUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/stl-blog-web-latest-featured.jpg","articleSection":["Web Development"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/","url":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/","name":"How to install Python in Ubuntu? - Step by Step Guide","isPartOf":{"@id":"http:\/\/167.86.116.248\/shivlab\/#website"},"primaryImageOfPage":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#primaryimage"},"image":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#primaryimage"},"thumbnailUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/stl-blog-web-latest-featured.jpg","datePublished":"2024-05-03T11:20:35+00:00","dateModified":"2024-05-03T13:00:42+00:00","description":"Looking to install Python on your Ubuntu system? Our step-by-step guide will walk you through the process, making it easy to get started with coding and running Python scripts efficiently on Ubuntu.","breadcrumb":{"@id":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#primaryimage","url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/stl-blog-web-latest-featured.jpg","contentUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/stl-blog-web-latest-featured.jpg","width":1140,"height":762,"caption":"stl-blog-web-latest-featured"},{"@type":"BreadcrumbList","@id":"http:\/\/167.86.116.248\/shivlab\/blog\/how-to-install-python-in-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/167.86.116.248\/shivlab\/"},{"@type":"ListItem","position":2,"name":"How to Install Python in Ubuntu?"}]},{"@type":"WebSite","@id":"http:\/\/167.86.116.248\/shivlab\/#website","url":"http:\/\/167.86.116.248\/shivlab\/","name":"Shiv Technolabs Pvt. Ltd.","description":"","publisher":{"@id":"http:\/\/167.86.116.248\/shivlab\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/167.86.116.248\/shivlab\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/167.86.116.248\/shivlab\/#organization","name":"Shiv Technolabs Pvt. Ltd","url":"http:\/\/167.86.116.248\/shivlab\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/","url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png","contentUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/11\/stl-logo1.png","width":1280,"height":371,"caption":"Shiv Technolabs Pvt. Ltd"},"image":{"@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ShivTechnolabs\/","https:\/\/x.com\/Shiv_Technolabs","https:\/\/www.linkedin.com\/company\/shivtechnolabs\/","https:\/\/www.instagram.com\/shivtechnolabs\/","https:\/\/in.pinterest.com\/ShivTechnolabs\/"]},{"@type":"Person","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/656b1fcc45a591961e3f3b061cd03206","name":"Dipen Majithiya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/167.86.116.248\/shivlab\/#\/schema\/person\/image\/","url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png","contentUrl":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2022\/09\/02_emp_pic-dipen-150x150.png","caption":"Dipen Majithiya"},"description":"I am a proactive chief technology officer (CTO) of Shiv Technolabs. I have 10+ years of experience in eCommerce, mobile apps, and web development in the tech industry. I am Known for my strategic insight and have mastered core technical domains. I have empowered numerous business owners with bespoke solutions, fearlessly taking calculated risks and harnessing the latest technological advancements.","sameAs":["http:\/\/167.86.116.248\/shivlab\/","https:\/\/www.facebook.com\/dipen.majithiya","https:\/\/www.linkedin.com\/in\/dipenmajithiya\/","https:\/\/x.com\/dip_majithiya"],"url":"http:\/\/167.86.116.248\/shivlab\/author\/dipen_majithiya\/"}]}},"jetpack_featured_media_url":"http:\/\/167.86.116.248\/shivlab\/wp-content\/uploads\/2024\/05\/stl-blog-web-latest-featured.jpg","_links":{"self":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts\/9442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/comments?post=9442"}],"version-history":[{"count":8,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts\/9442\/revisions"}],"predecessor-version":[{"id":9464,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/posts\/9442\/revisions\/9464"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/media\/9456"}],"wp:attachment":[{"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/media?parent=9442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/categories?post=9442"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/167.86.116.248\/shivlab\/wp-json\/wp\/v2\/tags?post=9442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}