Skip to content

Instantly share code, notes, and snippets.

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