Skip to content

Instantly share code, notes, and snippets.

@ddbs
Created November 12, 2022 23:39
Show Gist options
  • Save ddbs/b5773224f9abe27ba50fa181bc018925 to your computer and use it in GitHub Desktop.
Save ddbs/b5773224f9abe27ba50fa181bc018925 to your computer and use it in GitHub Desktop.
install python from bash file
#!/bin/bash
echo "Installing python3.10"
sudo apt update
sudo apt install software-properities-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.10
python3.10 --version
echo "python3.10 is installed"
echo "---------------------"
echo "---------------------"
echo "---------------------"
echo "---------------------"
echo "Installing pip3"
sudo apt update
sudo apt install python3-pip
pip3 --version
echo "pip3 installed"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment