How to Install Ubuntu 22.04 on Windows 10 WSL

WSL is abbreviated for “Windows subsystem Linux‘, which allows you to run the Linux distributions on the Microsoft Windows operating system. This feature is introduced in Windows 10 and later versions by the Microsoft Windows development team.

WSL allows users to run Linux distributions command line interface and manage their applications. This blog explains the method to install Ubuntu on Windows 20 using WSL feature.

How to install Ubuntu 22.04 on Windows 10 WSL?

To install Ubuntu 22.04, first change some settings in Windows 10. To do this, click on the “Windows‘ icon and then click the ‘gear” Icon:

From the settings dashboard, click “applications“:

From the menu on the left side of the screen, click “Apps & Features‘ and then to ‘Programs & Features“:

An option of “Turn Windows on or off” will be available on the left side of the screen, click on it:

In the dialog box that appears, scroll down and find “Windows subsystem for Linux‘, place a checkmark next to it, and then click ‘OK” key:

You will be prompted to restart the device. So restart it to change the new changes in settings and then open the “Microsoft store“:

Type “Ubuntu 22.04 LTS“ in the search field and search results for it:

Ubuntu 22.04 LTS has opened, install it by clicking “Receive” key:

The download will start and the download time depends on the speed of your internet:

When it is installed, click “Open” key to launch Ubuntu 22.04 LTS application:

It will take some time before Ubuntu is ready for its users:

After getting ready, the user will be prompted to type a “username“, a passwordand then re-enter the password for authentication:

Once that’s done, users are welcome to the Ubuntu command line interface:

Run the update command to confirm Ubuntu is working via WSL:

$ sudo appropriate update

To check the Ubuntu version details, run the command:

$ lsb_release -a

It can be seen that the latest version of Ubuntu Jammy Jellyfish has been installed on your Windows 10.

How to uninstall Ubuntu 22.04 on Windows 10 WSL

To uninstall Ubuntu from Windows 10, open Windows 10 settings again and then click “applications“:

Choose “Uninstall apps” on the left side of the menu:

Locate Ubuntu 22.04 LTS, click “Uninstall” key:

Confirm the uninstallation of Ubuntu by clicking again on “Uninstall“:

It starts by uninstalling the application from Ubuntu:

By default, the Ubuntu 22.04 LTS application will be removed from the system when the above process is completed.

Conclusion

By changing some settings in the Windows 10 WSL and then installing Ubuntu 22.04 from the Microsoft Store, Ubuntu 22.04 can be installed on Windows 10 WSL. The installation method of Ubuntu on Microsoft Windows 10 via WSL is examined in detail.

Related Posts