Install Windows Subsystem for Linux - hyvanmielenpelit/GnollHack GitHub Wiki
To install Windows Subsystem for Linux and reequired programs, please do the following:
- Install WSL
- We recommend installing the latest Ubuntu LTS from Microsoft Store.
- You may need to install a Linux kernel update package from here: https://aka.ms/wsl2kernel
- Please write down your WSL user name and password. You will need them later.
- Start WSL from the start menu.
- Upgrade WSL with
sudo apt update && sudo apt upgrade
. - Install essential building software with
sudo apt install -y build-essential gdb rsync zip openssh-server
. - Install dos2unix by
sudo apt install dos2unix
. - Install Bison by
sudo apt-get install -y bison
. - Install Flex by
sudo apt-get install -y flex
. - Enable password authentication by editing sshd_config:
sudo nano /etc/ssh/sshd_config
:PasswordAuthentication yes
sudo ssh-keygen -A
.sudo service ssh start
sudo systemctl enable ssh
(SSH starts on boot)