Skip to content

Instantly share code, notes, and snippets.

@pavgup
Last active October 21, 2023 20:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pavgup/994ba2a4f299f54fd6dc823c0cc46671 to your computer and use it in GitHub Desktop.
Save pavgup/994ba2a4f299f54fd6dc823c0cc46671 to your computer and use it in GitHub Desktop.
Install Python 2.7.13 on Debian Wheezy
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
@MciprianM
Copy link

"cd /usr/src/Python-2.7.3" - you probably meant 2.7.13

@Youriywot
Copy link

Not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment