mirror of
https://github.com/Jrohy/python3-install.git
synced 2026-04-02 18:58:14 +00:00
support ipv6
This commit is contained in:
10
README.md
10
README.md
@@ -5,24 +5,24 @@ support **CentOS 6+/Debian 8+/Ubuntu 14+**
|
||||
|
||||
## Install without compile(recommend)
|
||||
```
|
||||
bash <(curl -sL https://git.io/fhqMz)
|
||||
bash <(curl -sL https://python3.netlify.com/install.sh)
|
||||
```
|
||||
|
||||
## Install with compile(latest version)
|
||||
```
|
||||
bash <(curl -sL https://git.io/fhqMz) --latest
|
||||
bash <(curl -sL https://python3.netlify.com/install.sh) --latest
|
||||
```
|
||||
|
||||
## Install with compile(special version)
|
||||
```
|
||||
bash <(curl -sL https://git.io/fhqMz) -v 3.6.5
|
||||
bash <(curl -sL https://python3.netlify.com/install.sh) -v 3.6.5
|
||||
```
|
||||
|
||||
## Only install python3
|
||||
```
|
||||
bash <(curl -sL https://git.io/fhqMz) --nopip
|
||||
bash <(curl -sL https://python3.netlify.com/install.sh) --nopip
|
||||
```
|
||||
|
||||
find the special version in [python_version_list](https://www.python.org/ftp/python/), script will auto download and compile it
|
||||
|
||||
if os openssl version less than **1.0.2** , script will auto install latest openssl before compile python3, it may be have risk(except new install os), so recommend install without compile way
|
||||
if os openssl version less than **1.0.2** , script will auto install latest openssl before compile python3, it may be have risk(except new install os), so recommend install without compile way
|
||||
@@ -157,7 +157,7 @@ webInstall(){
|
||||
${PACKAGE_MANAGER} install epel-release -y
|
||||
${PACKAGE_MANAGER} install https://centos7.iuscommunity.org/ius-release.rpm -y
|
||||
${PACKAGE_MANAGER} install python36u -y
|
||||
ln -s /bin/python3.6 /bin/python3
|
||||
[[ ! -e /bin/python3 ]] && ln -s /bin/python3.6 /bin/python3
|
||||
elif [[ ${OS} == 'CentOS8' ]];then
|
||||
${PACKAGE_MANAGER} install python3 -y
|
||||
fi
|
||||
Reference in New Issue
Block a user