Ubuntu on Windows 11/10

Ubuntu on Windows provides Windows 11/10 users with the Ubuntu command-line tools. After installation, you can run ‘Ubuntu Terminal’ and some other command-line utilities. This feature comes in handy for most people who’ve been working on Ubuntu for quite a long time. Remember that this is not a virtualization container but a translation layer. So, the Ubuntu terminal runs parallel to your Windows and translates the Ubuntu commands to Windows system calls.

I already had Ubuntu on Windows. What now?

If you already have installed current/legacy Ubuntu, you can continue to run it as it is. Moreover, you can install distros from Windows Store, and they will be completely isolated from each other and legacy distros as well. But Microsoft recommends switching to a Windows Store distro now because the current/legacy distro will be deprecated. Also, the new WSL has been enhanced to support the installation of multiple distros alongside one another. So, I think you must switch if you plan to use more than one distro. If you want to uninstall the legacy distro from your computer, run ‘lxrun /uninstall’ from the command prompt.

How to get Ubuntu from Microsoft Store

The first step is to sign up for the Windows Insider program. To do that, open Settings and then select Update & Security and then Windows Insider Program. Follow the on-screen steps to complete your registration and restart your computer so that the computer can update with the changes required. The next step is enabling ‘Windows Subsystem for Linux’ from Optional features. Run this command from an administrator PowerShell window: Restart your computer after enabling the feature. And you will have Windows Subsystem for Linux enabled on your computer. The last step left is downloading the distro from Windows Store. Open the Windows Store and search for ‘Ubuntu’. Hit the ‘Get’ button to download it and once the installation completes, click on the ‘Launch’ button to begin setting up your UNIX user account.

After all these steps, you are almost done, and you can start using Ubuntu on Windows 11/10. You can launch it from ‘Start Menu’ or a CMD window. So, in a nutshell, what we did was first enrolled ourselves in the Insider Program to have the required build number. Then we enabled an optional feature called Windows Subsystem for Linux. And then finally, we downloaded and installed Ubuntu on Windows 11/10. In a blog post, Microsoft mentioned working to bring SUSE and Fedora to Windows. The work is near completion, and you may see these distros in the Store very soon. You can download multiple distros from the Store, and each of them will run in an isolated environment and will not interfere with each other. Ubuntu on Windows cannot run all your Ubuntu applications, but the development is on, and the future seems bright.

How does Ubuntu Run on Windows? What is WSL?

The Windows Subsystem for Linux lets developers run a GNU/Linux environment, including most command-line tools, utilities, and applications. It is like an emulator which offers a compatible environment so any Linux Destro can run through it on Windows PC.

Is WSL better than Linux?

It depends on the use case. If you need solely to work on Linux, then yes, better to install Windows on the computer. However, if you need to use Windows and Linux, you can use WSL to install Linux on Windows PC and use both.