mirror of
https://github.com/Jrohy/python3-install.git
synced 2026-04-03 11:18:13 +00:00
28 lines
1.0 KiB
Markdown
28 lines
1.0 KiB
Markdown
# python3-install
|
|
  
|
|
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 |