finnlennartsson / kpum_noddi

repo for processing of DKI/NODDI data for preterm project at KPUM
0 stars 0 forks source link

Install WSL on Windows #20

Closed finnlennartsson closed 1 year ago

finnlennartsson commented 1 year ago

Need to install a WSLg that can run Linux GUI (i.e. WSLg)- look at https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps

There are many things to consider when installing WSL2. This is all gathered on their website https://learn.microsoft.com/en-us/windows/wsl/

Information and installation guides are also found on https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-11-with-gui-support#1-overview

finnlennartsson commented 1 year ago

On Finn's Windows Laptop. Following install instructions.

# In a Windows Power Shell
wsl --list --online
wsl --install -d Ubuntu-22.04

Then exit and restart WSL

To get X11 tools working

# In an Ubuntu terminal
sudo apt install x11-apps
# then test by launching
xeyes &

Keep the installation up to date!

# In an Ubuntu terminal
sudo apt update
# make sure the output is OK, then
sudo apt full-upgrade