Install Ubuntu Desktop on Windows 11

During the past, we need to manually enable some features on windows in order to install linux, but this time we’re going to install the Ubuntu by typing some simple commands:

Open up powershell as administrator

wsl --install

list all the linux distros can be installed

wsl --list --online

install ubuntu 22.04 LTS

wsl --install -d Ubuntu-22.04

restart your PC

type in the username and a cool password, then check if the ubuntu is running by typing the following command in powershell

wsl -l -v

屏幕截图 2023-10-15 133943

update ubuntu to the latest version

sudo apt update && sudo apt dist-upgrade

the systemd is enable by default:
屏幕截图 2023-10-15 134437

install gnome desktop by following these steps.

after a long time wait, run the following command:

gnome-session

stop VMs

wsl --shutdown

remove wsl linux system:

wsl -t Ubuntu # terminate the system 
wsl --unregister Ubuntu # delete the system 

@Chatbot what’s the subject of this post? and what time is it now?

The subject of this conversation is Install Ubuntu Desktop on Windows 11 and the current time is 2023-11-12T07:48:51+00:00.

Good.
Now please summarize this post plz? @Chatbot

Sure, please find below the summary of this post:

  • The post provides instructions on how to easily install Ubuntu Desktop on Windows 11.
  • You need to open up PowerShell as an administrator and type in some simple commands to install Ubuntu.
  • The post includes screenshots of all the commands used for easy reference.
  • Once Ubuntu is installed, you can check if it is running by typing a command in PowerShell.
  • You can update Ubuntu to the latest version by running a command in the terminal.
  • Finally, if you want to remove the WSL Linux system, specific commands can be used to terminate or delete the system.