Created
October 19, 2014 09:45
-
-
Save vinyll/4e31dea0aceb0e092d12 to your computer and use it in GitHub Desktop.
Installing python3.4 at Alwaysdata
This file contains hidden or 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
BASH_FILE=~/.zshrc | |
mkdir -p ~/.python/src | |
cd !$ | |
wget https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz --no-check-certificate | |
tar xfz Python-3.4.2.tgz | |
cd Python-3.4.2 | |
mkdir $HOME/.python/python3.4 | |
./configure --prefix=!$ && make && make install | |
cd ~ | |
echo "export PATH=$HOME/.python/python3.4/bin:\$PATH" >> $BASH_FILE | |
source !$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Highly inspired from http://forum.alwaysdata.com/viewtopic.php?pid=17713