Created
February 10, 2017 03:21
-
-
Save orsenthil/a1dbaacd2af71f081008ffcde5a8d8ab to your computer and use it in GitHub Desktop.
Install Python3.6
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
pushd /tmp | |
echo "Installing Python" | |
curl -O https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz | |
tar xvf Python-3.6.0.tgz | |
cd Python-3.6.0 | |
./configure --prefix=$HOME/python36 | |
make && make install | |
popd | |
pushd /tmp | |
echo "Installing pip" | |
curl -O https://bootstrap.pypa.io/get-pip.py | |
$HOME/python36/bin/python get-pip.py | |
$HOME/python36/bin/pip install virtualenv | |
popd | |
echo "Please add $HOME/python36/bin to your PATH" | |
echo "Create virtualenv: like virtualev yourvirtualenvname" | |
echo "Activate it: source yourvirtualenvname/bin/activate" | |
echo "And experiment!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment