# Install Ubuntu Desktop on Windows 11

**URL:** https://eijil.com/t/install-ubuntu-desktop-on-windows-11/463
**Category:** 其它
**Created:** [October 15, 2023, 5:32am UTC](https://eijil.com/t/install-ubuntu-desktop-on-windows-11/463 "2023-10-15T05:32:36Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Tristan](https://eijil.com/user_avatar/eijil.com/tristan/32/986_2.png) [@Tristan](https://eijil.com/u/Tristan)
#### Post date: [October 15, 2023, 5:32am UTC](https://eijil.com/t/install-ubuntu-desktop-on-windows-11/463/1 "2023-10-15T05:32:36Z")

</div>

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

```auto
wsl --install

```

 ![屏幕截图 2023-10-15 132635](https://eijil.com/uploads/default/original/2X/9/9c36e3f7bc4fb1644d4d15336840d865b3f9aa72.png)

list all the linux distros can be installed

```auto
wsl --list --online

```

 ![屏幕截图 2023-10-15 132828](https://eijil.com/uploads/default/original/2X/d/d0c37ecaf3aee6ff765e5df53d9595c960e058fc.png)

install ubuntu 22.04 LTS

```auto
wsl --install -d Ubuntu-22.04

```

 ![屏幕截图 2023-10-15 133050](https://eijil.com/uploads/default/original/2X/8/869c9079c971f8643fea061d7836fdc327ca2fda.png)

restart your PC

 ![屏幕截图 2023-10-15 133505](https://eijil.com/uploads/default/original/2X/0/0b9ea57f1fccae9f359d4e5ceb84bb0b54874a31.png)

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

```auto
wsl -l -v

```

 ![屏幕截图 2023-10-15 133943](https://eijil.com/uploads/default/original/2X/5/568a104d279e97459eefa385a97b94c292933155.png)

update ubuntu to the latest version

```auto
sudo apt update && sudo apt dist-upgrade

```

the systemd is enable by default:

 ![屏幕截图 2023-10-15 134437](https://eijil.com/uploads/default/original/2X/6/6fff9f911b7aed4425bfdf404ae5927bf0541b98.png)

install gnome desktop by following these [steps](https://x410.dev/cookbook/wsl/running-ubuntu-desktop-in-wsl2/).

after a long time wait, run the following command:

```auto
gnome-session

```

stop VMs

```auto
wsl --shutdown

```

remove wsl linux system:

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

```

---

<div class="post-metadata">

### Author: ![Tristan](https://eijil.com/user_avatar/eijil.com/tristan/32/986_2.png) [@Tristan](https://eijil.com/u/Tristan)
#### Post date: [November 12, 2023, 7:48am UTC](https://eijil.com/t/install-ubuntu-desktop-on-windows-11/463/2 "2023-11-12T07:48:43Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Chatbot](https://eijil.com/letter_avatar_proxy/v4/letter/c/8c91f0/32.png) [@Chatbot](https://eijil.com/u/Chatbot)
#### Post date: [November 12, 2023, 7:48am UTC](https://eijil.com/t/install-ubuntu-desktop-on-windows-11/463/3 "2023-11-12T07:48:55Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Tristan](https://eijil.com/user_avatar/eijil.com/tristan/32/986_2.png) [@Tristan](https://eijil.com/u/Tristan)
#### Post date: [November 12, 2023, 7:49am UTC](https://eijil.com/t/install-ubuntu-desktop-on-windows-11/463/4 "2023-11-12T07:49:38Z")

</div>

Good.  
Now please summarize this post plz? @Chatbot

---

<div class="post-metadata">

### Author: ![Chatbot](https://eijil.com/letter_avatar_proxy/v4/letter/c/8c91f0/32.png) [@Chatbot](https://eijil.com/u/Chatbot)
#### Post date: [November 12, 2023, 7:49am UTC](https://eijil.com/t/install-ubuntu-desktop-on-windows-11/463/5 "2023-11-12T07:49:46Z")

</div>

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.
