Created
May 22, 2018 11:19
-
-
Save pigeonflight/39e7513e46b419b8b51f8671445c4ea2 to your computer and use it in GitHub Desktop.
Install Python 2.7.14 on Ubuntu 14.04
This file contains 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
# usage | |
# bash install-python-2.7.14.sh | |
sudo apt-get update | |
sudo apt-get install build-essential checkinstall -y | |
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev -y | |
cd /usr/src | |
sudo wget https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tgz | |
sudo tar xzf Python-2.7.14.tgz | |
cd Python-2.7.14 | |
sudo ./configure --enable-optimizations | |
sudo make install | |
sudo rm -rf /usr/src/Python-2.7.14* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wget -O- https://goo.gl/vAaqek | bash