-
-
Save ronbeltran/1b02ba98d759c15b9bd30b8143cb4415 to your computer and use it in GitHub Desktop.
Install Python 3.4 on Amazon Linux 2014.09
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
sudo yum install gcc | |
sudo yum install zlib-devel | |
sudo yum install openssl-devel | |
sudo yum install bzip2-devel | |
sudo yum install readline-devel | |
wget https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz | |
tar -xvf Python-3.4.1.tgz | |
cd Python-3.4.1/ | |
sudo ./configure --prefix=/opt/python3 | |
sudo make | |
sudo make install | |
export PATH=$PATH:/opt/python3/bin | |
./python3 | |
# pip3 resides in /opt/python3/bin/ | |
pip3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment