dotfiles/ubuntu/install-py3.sh
2020-09-07 15:28:10 +08:00

18 lines
406 B
Bash

#!/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