Skip to content

Instantly share code, notes, and snippets.

@dkarchmer
Last active December 15, 2021 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dkarchmer/15f3dea393e03845ac8493f4a0961444 to your computer and use it in GitHub Desktop.
Save dkarchmer/15f3dea393e03845ac8493f4a0961444 to your computer and use it in GitHub Desktop.
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