Skip to content

Instantly share code, notes, and snippets.

@eloycoto eloycoto/install.sh Secret
Created Apr 29, 2014

Embed
What would you like to do?
cd /usr/src/
yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel compat-db db4 db4-devel unixODBC-devel libtool-ltdl-devel
#Install python
wget https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz
tar xfvz Python-2.7.6.tgz
cd Python-2.7.6
./configure --prefix="/opt/python27/"
make
make install
#Install setuptools
cd /usr/src/
https://pypi.python.org/packages/source/s/setuptools/setuptools-1.1.4.tar.gz
tar xfvz setuptools-1.1.4.tar.gz
cd setuptools-1.1.4
/opt/python27/bin/python setup.py install
#Install pip
/opt/python27/bin/easy_install pip
#virtualenv
mkvirtualenv -p /opt/python27/bin/python p_27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.