Skip to content

Instantly share code, notes, and snippets.

@arindampradhan
Forked from subsetpark/gist:367f0d3fde503a1e481c
Last active January 20, 2016 04:05
Show Gist options
  • Save arindampradhan/b8f05b66dc06840e7452 to your computer and use it in GitHub Desktop.
Save arindampradhan/b8f05b66dc06840e7452 to your computer and use it in GitHub Desktop.
Building Python 2.7.10 on Ubuntu 14.04 LTS
sudo apt-get install -y gcc-multilib g++-multilib libffi-dev libffi6 libffi6-dbg python-crypto python-mox3 python-pil python-ply libssl-dev zlib1g-dev libbz2-dev libexpat1-dev libbluetooth-dev libgdbm-dev dpkg-dev quilt autotools-dev libreadline-dev libtinfo-dev libncursesw5-dev tk-dev blt-dev libssl-dev zlib1g-dev libbz2-dev libexpat1-dev libbluetooth-dev libsqlite3-dev libgpm2 mime-support netbase net-tools bzip2
wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz
tar xvf Python-2.7.10.tgz
cd Python-2.7.10/
./configure --prefix /usr/local/lib/python2.7.10 --enable-ipv6
make
sudo make install
/usr/local/lib/python2.7.10/bin/python -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment