How to install python in ubantu.

in blurtutorials •  4 years ago 

Installing Python 3.7 on Ubuntu with apt is a relatively straightforward process and will only take a few minutes:

01.Start by updating the packages list and installing the prerequisites:
sudo apt update

sudo apt install software-properties-common

02.Next, add the deadsnakes PPA to your sources list:
sudo add-apt-repository ppa:deadsnakes/ppa
When prompted press Enter to continue:
Output
Press [ENTER] to continue or Ctrl-c to cancel adding it.

03.Once the repository is enabled, install Python 3.7 with:
sudo apt install python3.7

04.At this point, Python 3.7 is installed on your Ubuntu system and ready to be used. You can verify it by typing:
python3.7 --version

Output
Python 3.7.3

Source:
https://linuxize.com/post/how-to-install-python-3-7-on-ubuntu-18-04/

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!
Sort Order:  
  ·  4 years ago  ·   (edited)

congratulations your post has been manually curated by @kamranrkploy and @tomoyan.
follow @blurtutorials for better rewards.
Thank You.