Arch wsl的傻瓜式安装 (有手就行)
本人是Arch教徒过来传一下教
第一步 程序与功能中打开 或者 以管理员身份打开 PowerShell 终端 输入命令如下
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
|

按照提示重启电脑
第二步 下载文件
然后下载Arch WSL


那个安装证书是给appx版的arch wsl用的
你已经安装zip版的
没有必要安两次
只用需要用到zip
第三步 配置Arch Wsl

反正按照我这个改, 保存是ctrl + x 回车
第四步 配置相关参数
这里会提示配置 按照我的方法配置
Arch.exe//这个是启动后的显示 [root@PC-NAME user]
|
Arch.exe [root@PC-NAME] %wheel ALL=(ALL) ALL (setup sudoers file.)
|
[root@PC-NAME user] (set default user password)
|
Arch.exe config --default-user {username} (setting to default user) //现在是root用户,不用加sudo
|
[user@PC-NAME]sudo pacman-key --init
|
[root@PC-NAME]sudo pacman-key --populate
|
第五步 安装完后操作
下面是换源
打开nano /etc/pacman.d/mirrorlist 然后再最顶端添加 切记去##

Server = https:mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
|
然后就可以,更新软件包缓存
neofetch查看系统

这个教程百分比可以看懂,如果你看不懂那只能说明你没认真去看
认认真真的反复去看你真的可以看懂的
然后发现并不难
作者: 我叫史迪奇
本文来自于:
https://sdq3.link/Arch-Wsl-install.html博客内容遵循 署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 协议