chg: [doc] Remove update-alternatives, dumb idea to change default Python, for now.

pull/4071/head
Steve Clement 2019-01-29 18:19:17 +09:00
parent 4b781b5486
commit 911792c904
2 changed files with 0 additions and 19 deletions

View File

@ -101,16 +101,6 @@ sudo a2enmod ssl rewrite
sudo a2dissite 000-default
sudo a2ensite default-ssl
sudo a2enmod headers
# Switch to python3 by default (optional)
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 2
```
To flip between the 2 pythons use *update-alternatives*
```bash
sudo update-alternatives --config python
```
#### Apply all changes

View File

@ -107,15 +107,6 @@ sudo a2enmod ssl rewrite
sudo a2dissite 000-default
sudo a2ensite default-ssl
# Switch to python3 by default (optional)
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6 2
```
To flip between the 2 pythons use *update-alternatives*
```bash
sudo update-alternatives --config python
```
#### Apply all changes