Skip to content

Instantly share code, notes, and snippets.

@glarrain
Forked from lukaslundgren/python27_on_debian.sh
Created December 13, 2012 20:37
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 glarrain/4279584 to your computer and use it in GitHub Desktop.
Save glarrain/4279584 to your computer and use it in GitHub Desktop.
sudo apt-get install build-essential libsqlite3-dev zlib1g-dev libncurses5-dev libgdbm-dev libbz2-dev libreadline5-dev libssl-dev
wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz
tar xz Python-2.7.3.tgz
cd Python-2.7.3
./configure
make
sudo make altinstall
python2.7
curl -O http://python-distribute.org/distribute_setup.py
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
sudo python2.7 distribute_setup.py
sudo python2.7 get-pip.py
sudo pip-2.7 install virtualenv virtualenvwrapper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment