mirror of
https://github.com/BioArchLinux/wsl.git
synced 2025-03-10 06:33:59 +00:00
1.3 KiB
1.3 KiB
BioArchLinux on WSL
Download
Download wsl tar file from any mirror of BioArchLinux.
Import to WSL
You have to enable wsl first.
- decompress the tar file
- click the
BioArch.exe
Choose mirror
Firstly, you should enter WSL
wsl -d BioArch
Optional, you can set BioArchLinux as default distribution
wsl --set-default BioArch
then you need to choose a mirror of archlinux and bioarchlinux
choose mirror of archlinux from here and run the following command ( take sdu mirror as the example)
echo 'Server = https://mirrors.sdu.edu.cn/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist
choose mirror bioarchlinux from here and run the following command ( take sdu mirror as the example)
echo 'Server = https://mirrors.sdu.edu.cn/bioarchlinux/$arch' > /etc/pacman.d/mirrorlist.bio
Use BioArchLinux
Finally, you can install any packages from BioArchLinux
pacman -Syu
pacman -S foo
Acknowledgment
Thanks go to James Yang for contributing exe launcher file.