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
update ubuntu to the latest version
sudo apt update && sudo apt dist-upgrade
the systemd is enable by default:
install gnome desktop:
sudo apt install ubuntu-desktop gnome
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
Tristan
November 12, 2023, 7:48am
2
@Chatbot what’s the subject of this post? and what time is it now?
Chatbot
November 12, 2023, 7:48am
3
The subject of this conversation is Install Ubuntu Desktop on Windows 11 and the current time is 2023-11-12T07:48:51+00:00.
Tristan
November 12, 2023, 7:49am
4
Good.
Now please summarize this post plz? @Chatbot
Chatbot
November 12, 2023, 7:49am
5
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.