Last active
April 17, 2021 16:54
-
-
Save k8scat/597c278986fbb519cf28831448428cc5 to your computer and use it in GitHub Desktop.
Install Python3.8 on Ubuntu 16
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
#!/bin/bash | |
# | |
# Install Python3.8 and pip on Ubuntu 16 | |
# Maintainer: [email protected] | |
set -e | |
add-apt-repository -y ppa:deadsnakes/ppa | |
apt-get update -y | |
apt-get install -y python3.8 python3.8-distutils | |
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
python3.8 get-pip.py | |
rm -f get-pip.py | |
echo "alias python=\"/usr/bin/python3.8\"" >> /etc/profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment