• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Rahul Bodana

My WordPress Blog

  • Home
  • Coding
Home » Programming » Python » How to Install Python on Linux [Installation on Ubuntu]

How to Install Python on Linux [Installation on Ubuntu]

June 21, 2020 by Rahul

Here in this short Guide, I’ll guide you if you wondering How to Install Python on Linux. Linux is the ideal OS for Programming and Web Development. Most of the Programs, That a programmer need comes pre-installed in Linux even there a Techy can Customize the Linux as per their need. For Python Programmer Linux is the most recommended OS. To Build using Python we first need to Install Python, For most of the Linux Distribution, it is easy enough.

How to install Python on Linux

If you are using Linux, It is likely that the Python is already installed on your system. If not, then you can also easily install on Your Linux OS just by Terminal.

How to install Python on Linux

So unlike Windows and Mac, it’s easy to install here But at the same time, it can be complex. The Command may be different for the Distribution that you are using. Here in this article, I am Assuming you are Using Ubuntu which is one of the most popular Linux Distro. If you are using it then you can Follow the process as it to Install Python on Linux Machine.

So in case if you want to install Python on Linux then you have to follow the procedure Step-By-Step.

  1. Before installing Python on your Linux, We have to make sure that Python is not installed on your Machine. Or at least check the version which is installed.
  2. To do so first open the Terminal and Type “python –version” Without Quotes, It will show you the Python version if it installed on your computer.
  3. Most of Linux Distributions, have Python 2 installed on them. For some Python 3 comes Preinstalled. However, Chances are none of them have to latest version.
  4. So if you want to install the latest version then Type “sudo apt-get update” and then “sudo apt-get install python3.8” here Replace 3.8 with the latest version or the version that you want to install.
  5. Once it is Done you check installation using “python –version” or “python3 –version” if you have both Python 3 and Python 2 installed on your Linux.
Related Posts:
  • How to Install Scrapy along with Virtual Environment
  • How to install Python on Mac OS [Short & Straight…
  • How to Install Python on iOS Smartphones
  • What is Python and What you can do with it?
  • How to install Python on Android Smartphone?

Filed Under: Python

Primary Sidebar

Recent Posts

  • Ford Covid-19 Survey App : Home Depot Associate Login & Schedule
  • Best Python books for Advance Python Programmers
  • 9 Best Python Books for Beginners to Learn Python from Scratch
  • 10 Best Python Books For Intermediate Programmers
  • How to Install Scrapy along with Virtual Environment

Recent Comments

  • Bonita on How to Set up Python Development Environment in VS code
  • Sameer on How to Set up Python Development Environment in VS code
  • Kristin on How to Set up Python Development Environment in VS code
  • Izac on How to Set up Python Development Environment in VS code
  • SandraClolf on How to install Python Package using PIP & PYPI

Categories

  • Python
  • Python Books
  • Scraping
  • Uncategorized

Copyright © 2021