Created
April 22, 2020 19:42
-
-
Save Wombatpm/48dc2c679eaaff7c5016ceae260089c2 to your computer and use it in GitHub Desktop.
Build Python3.7.7 for Centos7
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
| yum install epel-release | |
| yum install gcc openssl-devel bzip2-devel libffi libffi-devel | |
| yum install ncurses-devel th-devel readline-devel sqlite-devel | |
| yum install gdbm-devel uuid-devel xz-devel python3-devel python3-setuptools | |
| libc6-dev v zlib1g-dev | |
| yum install wget | |
| cd /root | |
| wget https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tgz | |
| tar xzf Python-3.7.7.tgz | |
| cd Python-3.7.7 | |
| ./configure --enable-optimizations | |
| make altinstall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment