Skip to content

Instantly share code, notes, and snippets.

@josepsmartinez
Created January 31, 2021 08:27
Show Gist options
  • Save josepsmartinez/a9c6c6cc5a8365311683546c6e6e5c6d to your computer and use it in GitHub Desktop.
Save josepsmartinez/a9c6c6cc5a8365311683546c6e6e5c6d to your computer and use it in GitHub Desktop.
Bash script which installs Python 3 and Pipenv
#!/bin/bash
# Code adapted from: https://stackoverflow.com/a/55423104/4449273
## Tested on Ubuntu 20.04 (running on WSL)
sudo apt install software-properties-common
sudo apt-add-repository universe
sudo apt update
# Python 3
sudo apt install python3-pip
# Pipenv
sudo apt install pipenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment