dotfiles/ubuntu/install-py3.sh

18 lines
406 B
Bash
Raw Normal View History

2020-09-07 07:28:10 +00:00
#!/bin/bash
set -e
# install python3.8
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.8
# install pip and other distutils
sudo apt install python3.8-distutils
sudo python3.8 -m pip install --upgrade pip setuptools wheel
# install virtualfish and enable auto_activation for `vf connect`
sudo pip3 install virtualfish
vf install
vf addplugins auto_activation