Created
June 5, 2022 21:30
-
-
Save UbuntuEvangelist/7d1e342149be5338c4f30b39e3514c6c to your computer and use it in GitHub Desktop.
Python Installation On Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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