SLAMBench: Windows WSL2 - nikolaradulov/SLAMFuse GitHub Wiki
Install Ubuntu-20.04 on Windows10 D:drive
- Search for Turn Windows features on or off and enable Windows Subsystem for Linux and Virtual Machine Platform
- Restart your computer
- Open the PowerShell
$ wsl --update
$ wsl --set-default-version 2
$ cd D:\your\dirctory\
$ Invoke-WebRequest -Uri https://wsldownload.azureedge.net/Ubuntu_2004.2020.424.0_x64.appx -OutFile Ubuntu20.04.appx -UseBasicParsing
$ Rename-Item .\Ubuntu20.04.appx Ubuntu.zip
$ Expand-Archive .\Ubuntu.zip -Verbose
$ cd .\Ubuntu\
$ .\ubuntu2004.exe
- Use
wsl -l -v
to make sure you have installed Ubuntu-20.04 with version 2