For me, the simplest procedure to install the Distro was to
-
Download the latest Arch.zip
file from the project’s release page
-
Extract it to a folder where your user has unrestricted read/write permissions (so ideally stay away from Program Files
, etc.)
-
Run the included Arch.exe
-
Change the root password
-
Add the wheel
group to the allowed sudo
users
-
Choose a username for your new user
and add this new user to the wheel
group
-
Change the new user’s password
-
Exit the WSL environment
-
Set the new user as the default one
-
Reboot the PC or alternatively restart LxssManager
with
-
After that reenter WSL with
-
Setup the pacman
keyring
-
Update the base system
Just WorksTM?
As I’m sitting behind a corporate http
proxy, I initially had no access to the internet.
This can be confirmed by running
To make WSL proxy-aware, I needed to
-
Add the exports to the ~/.bashrc
with
-
Source it
-
Allow sudo
to pass these environment variables through by
setting the env_keep
property in /etc/sudoers.d/proxy
Rerunning the curl
-command should now produce a response and pacman
should update and upgrade just fine: