Skip to content

Instantly share code, notes, and snippets.

@scottjbarr
Created January 21, 2010 01:53
Show Gist options
  • Save scottjbarr/282506 to your computer and use it in GitHub Desktop.
Save scottjbarr/282506 to your computer and use it in GitHub Desktop.
Install Python 2.6 from Source
#!/bin/bash
#
# Install Python 2.6 from Source
#
# Author : Scott Barr
# Date : 21 Jan 2010
#
PYTHON_VERSION=2.6.4
cd /usr/local/src
wget http://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.bz2
tar -jxf Python-${PYTHON_VERSION}.tar.bz2
cd Python-${PYTHON_VERSION}
./configure
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment