Skip to content

Instantly share code, notes, and snippets.

@dkarchmer
Last active Dec 15, 2021
Embed
What would you like to do?
Windows 10 WSL Ubuntu Setup
sudo apt-get update
sudo apt-get upgrade
# Store Github credentials
git config --global credential.helper store
git clone ...
# Install Python
sudo apt-get install -y python
sudo apt-get install python3.8
sudo apt-get install python3.8-venv
sudo apt-get install python3-venv
# Docker
# Install from windows using
# 1. wsl --install
# 2. Install Docker Desktop WSL2 bakcend (https://docs.docker.com/desktop/windows/wsl/)
# Fix to mounts
sudo mkdir /sys/fs/cgroup/systemd
sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
# Docker Compose
# Should already be installed via Docker Desktop WSL2 backend installation
# Install Emacs
sudo add-apt-repository ppa:kelleyk/emacs
sudo apt update
sudo apt install emacs26
# Iniailize .emacs.d/init.el with
# https://gist.github.com/dkarchmer/d4eb6f1ce62aba300d74223149b5eb56
mkdir ~/.emacs.d
curl https://gist.githubusercontent.com/dkarchmer/d4eb6f1ce62aba300d74223149b5eb56/raw/52c23903da84408bd0278ca0cc1980323f41fc9f/init.el > ~/.emacs.d/init.el
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment