Skip to content

Instantly share code, notes, and snippets.

@theconsolelogger
Created August 20, 2020 05:37
Show Gist options
  • Select an option

  • Save theconsolelogger/dc31aa95d0b75d20104001c059352057 to your computer and use it in GitHub Desktop.

Select an option

Save theconsolelogger/dc31aa95d0b75d20104001c059352057 to your computer and use it in GitHub Desktop.
Guide to setting up a new Ubuntu installation.

Setup Ubuntu

sudo apt update sudo apt upgrade

sudo apt install build-essential zlib1g-dev libssl-dev libbz2-dev libsqlite3-dev libreadline-dev python3-distutils curl git vim

Pyenv

curl https://pyenv.run | bash

bashrc: export PATH="/home/jon/.pyenv/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)"

exec $SHELL

pyenv install 3.8.5

Poetry

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment