Last active
April 24, 2019 11:09
-
-
Save dineshpanda/50ebd6d946b948d093747f5d3dc5c433 to your computer and use it in GitHub Desktop.
Steps To Install Python 3.7 In CentOS 7.6
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
wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz | |
tar xzf Python-3.7.3.tgz | |
cd Python-3.7.3 | |
./configure --enable-optimizations --prefix=/opt/mount1/python37 # path where python3.7 will be installed | |
make altinstall | |
# enable python37 command | |
vi ~/.bashrc | |
alias python37='/opt/mount1/python37/bin/python3.7' # add this line to ~/.bashrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment