Last active
December 15, 2021 05:17
-
-
Save dkarchmer/15f3dea393e03845ac8493f4a0961444 to your computer and use it in GitHub Desktop.
Windows 10 WSL Ubuntu Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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