Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save UbuntuEvangelist/7d1e342149be5338c4f30b39e3514c6c to your computer and use it in GitHub Desktop.
Save UbuntuEvangelist/7d1e342149be5338c4f30b39e3514c6c to your computer and use it in GitHub Desktop.
Python Installation On Ubuntu
apt install snapd
snap install python38 --classic
apt install python3-pip
nano ~/.bashrc
# Add into the bottom
alias python=python3
alias pip=pip3
# Save & Exit ctrl+s and ctrl+x
alias python=python3
alias pip=pip3
source ~/.bashrc
sudo apt update
sudo apt upgrade -y
python --version
pip --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment