Last active
July 1, 2019 17:03
-
-
Save rssanders3/43b548641f63bf90144b40f85fa8892d to your computer and use it in GitHub Desktop.
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
cd /opt | |
sudo wget --no-check-certificate https://www.python.org/ftp/python/3.5.7/Python-3.5.7.tar.xz | |
tar xf Python-3.5.7.tar.xz | |
cd Python-3.5.7 | |
./configure --prefix=/usr/local | |
make && make altinstall | |
ls -ltr /usr/local/bin/python* | |
vi ~/.bashrc | |
#Add this line `alias python='/usr/local/bin/python3.5'` | |
#Add this line `alias pip='/usr/local/bin/pip3.5'` | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment