Special Offer - Enroll Now and Get 2 Course at ₹25000/- Only Explore Now!

All Courses
Install Python 3.7 on Ubuntu

Install Python 3.7 on Ubuntu

May 17th, 2019

Install Python 3.7 on Ubuntu

We can install python on ubuntu using a standard apt tool from deadsnakes PPA.
Step 1: Update the packages list and install the prerequisites:
$ sudo apt updates do apt
$ install software-properties-common
Step 2: Now, add dead snakes PPA to your source list:
$ sudo add-apt-repository ppa:deadsnakes/ppa
then it prompts,
Press [ENTER] to continue or Ctrl-c to cancel adding it. 
Press Enter here to continue.
Step 3: Install Python 3.7 once the repository is enabled,
$ sudo apt install python3.7
Step 4: Now the Python 3.7 will be installed. Verify the installation with:
$ python3.7 –version
Output:
Python 3.7.3