Skip to content

Instantly share code, notes, and snippets.

@KalleDK
Created October 27, 2015 17:23
Show Gist options
  • Save KalleDK/74e4f5c0d234d9af0f49 to your computer and use it in GitHub Desktop.
Save KalleDK/74e4f5c0d234d9af0f49 to your computer and use it in GitHub Desktop.
sudo su
screen
yum install xz-libs -y
cd ~
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py
pip install --upgrade pip
rm -f get-pip.py
pip install --upgrade virtualenv
pip install --upgrade virtualenvwrapper
mkdir ~/python3
cd ~/python3
wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tar.xz
xz -d Python-3.5.0.tar.xz
tar -xvf Python-3.5.0.tar
cd Python-3.5.0
./configure
make && make altinstall
export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment