Skip to content

Instantly share code, notes, and snippets.

@Kcrong
Last active January 25, 2017 14:35
Show Gist options
  • Save Kcrong/103bc7688a9859dc8bebe81d8e4353a4 to your computer and use it in GitHub Desktop.
Save Kcrong/103bc7688a9859dc8bebe81d8e4353a4 to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install python-dev libffi-dev libssl-dev zlib1g-dev libncurses5-dev libsqlite3-dev -y
tar xvf Python-2.7.*.tar.xz
cd Python-2.7.*
./configure
sudo make -j 4
sudo make altinstall
which python2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment