Last active
October 21, 2023 20:29
-
-
Save pavgup/994ba2a4f299f54fd6dc823c0cc46671 to your computer and use it in GitHub Desktop.
Install Python 2.7.13 on Debian Wheezy
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
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 | |
wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz | |
sudo tar -xzf Python-2.7.13.tgz -C /usr/src | |
cd /usr/src/Python-2.7.3 | |
sudo ./configure | |
sudo make | |
sudo make altinstall | |
sudo wget https://bootstrap.pypa.io/get-pip.py | |
sudo python2.7 get-pip.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"cd /usr/src/Python-2.7.3" - you probably meant 2.7.13