Last active
January 25, 2017 14:35
-
-
Save Kcrong/103bc7688a9859dc8bebe81d8e4353a4 to your computer and use it in GitHub Desktop.
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
| 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