Files
python3-install/README.md
2019-11-23 23:24:33 +08:00

28 lines
1.0 KiB
Markdown

# python3-install
![](https://img.shields.io/github/stars/Jrohy/python3-install.svg) ![](https://img.shields.io/github/forks/Jrohy/python3-install.svg) ![](https://img.shields.io/github/license/Jrohy/python3-install.svg)
auto install Python3 and pip
support **CentOS 6+/Debian 8+/Ubuntu 14+**
## Install without compile(recommend)
```
bash <(curl -sL https://python3.netlify.com/install.sh)
```
## Install with compile(latest version)
```
bash <(curl -sL https://python3.netlify.com/install.sh) --latest
```
## Install with compile(special version)
```
bash <(curl -sL https://python3.netlify.com/install.sh) -v 3.6.5
```
## Only install python3
```
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