mirror of
https://github.com/BioArchLinux/wsl.git
synced 2025-03-10 06:33:59 +00:00
51 lines
1.3 KiB
Markdown
51 lines
1.3 KiB
Markdown
# BioArchLinux on WSL
|
|
|
|
## Download
|
|
|
|
Download [wsl tar file](https://repo.bioarchlinux.org/wsl) from [any mirror](https://raw.githubusercontent.com/BioArchLinux/mirror/main/mirrorlist.bio) 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](https://archlinux.org/mirrorlist/) 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](https://raw.githubusercontent.com/BioArchLinux/mirror/main/mirrorlist.bio) 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](https://github.com/llxlr) for contributing exe launcher file.
|