Technoracle
    Facebook Twitter Instagram
    • Sitemap
    • Privacy Policy
    • Disclaimer
    • Term of Services
    Facebook Twitter Instagram Pinterest Vimeo
    TechnoracleTechnoracle
    • Tutorials
      • Amazon Cloud
      • Google Cloud
    • How To
    • Blog
    • About
    Subscribe
    Technoracle
    Home»How To»How to Install Python 3 on Ubuntu[Step by Step]
    How To

    How to Install Python 3 on Ubuntu[Step by Step]

    Rajesh ShivamBy Rajesh ShivamMay 30, 2022Updated:May 30, 2022No Comments2 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    install Python 3 on Ubuntu
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Python is a popular programming language among beginners and experienced developers. According to SlashData, there are now 8.2 million developers in the world who code using Python. In this tutorial, I am going to explain step by step guide to install Python 3 on Ubuntu. So let’s get started.

    Page Contents

    • Install Python 3 on Ubuntu Step by Step
      • System Requirements
      • Installing Python 3.9 on Ubuntu with Apt 
        • Step 1: Update the Ubuntu packages list.
        • Step 2: PPA add to the deadsnakes PPA
        • Step 3: Install Python 3.9 from Command Line
        • Step 4: Verify the Python Installation and check Python version.
      • Conclusion

    Install Python 3 on Ubuntu Step by Step

    System Requirements

    • A system running Ubuntu (Latest Version)
    • A user account with sudo privileges
    • Access to a terminal window/command-line
    • Make sure your environment is configured to use Python 3.9

    Installing Python 3.9 on Ubuntu with Apt 

    Most of the Ubuntu distribution comes with preinstalled Python. Check your already installed version using following command on the terminal.

    $ python ––version

    Now, to install Python 3.9 on Ubuntu follow the below steps.

    Step 1: Update the Ubuntu packages list.

    $ sudo apt update
    $ sudo apt install software-properties-common
    Update ubuntu packages

    Step 2: PPA add to the deadsnakes PPA

    Now, you have to add python PPA to the apt repository.

    $ sudo add-apt-repository ppa:deadsnakes/ppa

    Press Enter on the keyboard to proceed the PPA add.

    PPA add to repository

    Step 3: Install Python 3.9 from Command Line

    After adding PPA to the repository, update the repository again. Then install Python 3.9

    $ sudo apt update
    $ sudo apt install python3.9

    Step 4: Verify the Python Installation and check Python version.

    To verify the Python installation on Ubuntu. Run following command to check Python version.

    $ python3.9 --version
    Python version check

    Conclusion

    In this article, you have learned how to install Python 3 on Ubuntu. Follow the article thoroughly to install Python. If you like this article, please feel free to share it on your social media.

    ubuntu tips
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleLearn AWS with AWS Skill Builder in 2022 for Free
    Next Article How to Host Multiple Websites on Single AWS EC2 Instance
    Rajesh Shivam

    Hello, everyone, I am Rajesh Shivam, I am a full-time freelancer with more than seven years plus experience in different freelancing platforms, in this blog, I am going to provide complete freelancing tips and tricks.

    Related Posts

    How To

    How to Install Microsoft Teams on Ubuntu 22.04 Easily

    February 22, 2023
    Read More
    How To

    What is Elastic IP and Its Pricing in AWS

    February 22, 2023
    Read More
    How To

    How to Convert PEM to PPK file [Step by Step Guide]

    February 22, 2023
    Read More
    Add A Comment

    Leave A Reply Cancel Reply

    Facebook Twitter Instagram Pinterest
    © 2023 Technoracle

    Type above and press Enter to search. Press Esc to cancel.

    Go to mobile version