How to Setup
Requirements
- Windows 10 1709 Fall Creators Update 64bit or later.
- Windows Subsystem for Linux feature is enabled.
Install
with zip package
1. Download installer zip
2. Extract all files in zip file to same directory
Please extract to a folder that has write permission. For example ‘Program Files’ can not be used.
3. Run Arch.exe to Extract rootfs and Register to WSL
Exe filename is using to the instance name to register. If you rename it you can register with a different name and have multiple installs.
with appx package
1. Download installer .appx and .cer
2. Install .cer to “Trusted Root Certificate Store” of the local machine
For details, please refer to Install Certificate page.
You need administrator privileges to install the certificate
3. Install .appx
Setting for Arch
1.Setting root password
>Arch.exe
[root@PC-NAME user]# passwd
2.Setup default user (Please see ArchWiki Sudo and User and groups pages.)
>Arch.exe
[root@PC-NAME]# EDITOR=nano visudo
%wheel ALL=(ALL) ALL
(setup sudoers file.)
[root@PC-NAME]# useradd -m -G wheel -s /bin/bash {username}
(add user)
[root@PC-NAME user]# passwd {username}
(set default user password)
[root@PC-NAME user]# exit
>Arch.exe config --default-user {username}
(setting to default user)
If the default user has not been changed(issue #7), please reboot the computer or alternatively, restart the LxssManager in an Admin command prompt net stop lxssmanager && net start lxssmanager
3.Initialize keyring
Please excute these commands for initialize keyring.(This step is necessary for use pacman)
>Arch.exe
[user@PC-NAME]$ sudo pacman-key --init
[root@PC-NAME]$ sudo pacman-key --populate
Optional. Install systemctl alternative
We can’t use systemd on WSL,this is WSL specification. However,There are several solutions.
Please see Known issues.