Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

How to set up Arch Linux on Windows Subsystem for Linux (WSL)

Video: https://youtu.be/AhzMq2AImIM

■ Download Arch.zip from https://github.com/yuk7/ArchWSL/releases


■ Double click Arch.exe to install
■ sudo pacman -Syyu
■ sudo pacman -S gedit
■ useradd --create-home qiusheng
■ passwd qiusheng
■ sudo -lU qiusheng
■ usermod -aG wheel qiusheng
■ gedit /etc/sudoers
■ Find and uncomment the following line: "%wheel ALL=(ALL) ALL"
■ Find and uncomment the following line: " %sudo ALL=(ALL) ALL"
■ Add the line "qiusheng ALL=(ALL) ALL" after "root ALL=(ALL) ALL"
■ For more info, see https://ostechnix.com/add-delete-and-grant-sudo-privileges-to-
users-in-arch-linux/
■ cd to WSL download folder: ./Arch config --default-user qiusheng
■ sudo pacman -S git base-devel wget
■ git clone https://aur.archlinux.org/yay.git
■ cd yay
■ makepkg -si
■ yay -S miniconda3
■ echo "[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source
/opt/miniconda3/etc/profile.d/conda.sh" >> ~/.bashrc
■ conda create -n geo python=3.9
■ conda activate geo
■ conda install mamba -c conda-forge
■ mamba install geospatial -c conda-forge

You might also like