Created
August 30, 2025 21:27
-
-
Save UbuntuEvangelist/bb20ae582f2a5061e66f8fd3e370d033 to your computer and use it in GitHub Desktop.
Python Installation Linux
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 | |
apt update | |
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