sudo apt update && sudo apt upgrade -y
sudo nano /etc/update-manager/release-upgrades
Change lts to normal.
Reboot WSL with wsl --shutdown
in powershell/cmd.
sudo do-release-upgrade
Answer yes to each question, Ubuntu will restart by itself.
You can now check your version with lsb_release -a
.
https://docs.microsoft.com/fr-fr/windows/wsl/wsl-config
sudo nano /etc/wsl.conf
[interop]
enabled=false # enable launch of Windows binaries; default is true
appendWindowsPath=false # append Windows path to $PATH variable; default is true
[wsl2]
swap=0
In Powershell: wsl --shutdown
.
sudo apt install zsh -y && chsh -s $(which zsh)
zsh
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
test -r ~/.zshrc && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.zshrc
sudo apt-get install build-essential -y
brew install gcc
Put you Brewfile in home or specific folder and run brew bundle
.
After you can rm Brewfile.lock.json
.