-
-
Save arindampradhan/b8f05b66dc06840e7452 to your computer and use it in GitHub Desktop.
Building Python 2.7.10 on Ubuntu 14.04 LTS
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 -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