mirror of
https://github.com/gryf/vmstrap.git
synced 2025-12-18 12:00:31 +01:00
16.04 doen't have python3.6.
This commit is contained in:
14
bootstrap.sh
14
bootstrap.sh
@@ -168,9 +168,17 @@ ubuntu() {
|
||||
|
||||
# 4. change alternatives
|
||||
sudo update-alternatives --set editor /usr/bin/vim.basic
|
||||
sudo update-alternatives \
|
||||
--install /usr/bin/python python /usr/bin/python3.6 10
|
||||
sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
|
||||
case $DISTRO_R in
|
||||
'18.04')
|
||||
sudo update-alternatives \
|
||||
--install /usr/bin/python python /usr/bin/python3.6 10
|
||||
sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
|
||||
;;
|
||||
'20.04')
|
||||
echo "20.04 is not yet supported"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# 5. install tools from pypi
|
||||
sudo pip install pip --upgrade
|
||||
|
||||
Reference in New Issue
Block a user