Skip to content

Instantly share code, notes, and snippets.

@lxndrv
Created October 20, 2016 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lxndrv/f1e4ea1b1b7a40a78a99f1f631b1376f to your computer and use it in GitHub Desktop.
Save lxndrv/f1e4ea1b1b7a40a78a99f1f631b1376f to your computer and use it in GitHub Desktop.
sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
cd /usr/src
sudo wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz
sudo tar xzf Python-2.7.12.tgz
cd Python-2.7.12
sudo ./configure
sudo make
sudo make install
cd
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment