Skip to content

Shengyis/ArchWslSettingUp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the quick setting up script for Arch in WSL2, using zsh by default shell, autoupdate check every time you login. Install Arch in WSL2 Login as root then run

cd ~
git clone https://github.com/Shengyis/ArchWslSettingUp.git
cd ArchWslSettingUp
./settingup.sh

Reboot ArchLinux, and enjoy. Optional, install oh-my-zsh via CN mirror:

git clone https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git
cd ohmyzsh/tools
REMOTE=https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git sh install.sh

in zsh, setup autoupdate via mirror and install other packagtes:

git -C $ZSH remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git
git -C $ZSH pull
# setup and clean
mv -f ~/zshrc_backup ~/.zshrc
rm ~/settingup2.sh ~/.bash*
rm -rf ~/ohmyzsh
# install other packages
sudo pacman -S blas-openblas blas64-openblas python tk python-matplotlib python-scipy python-mpmath python-cupy --noconfirm

About

Arch Linux on WSL, installatuion guide

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published