Header Ads

Ubuntu terminal on windows

Microsoft recently announced Linux Subsystems for Windows 10. While the feature was made available to developers, Microsoft has released it on the Windows Store. You can now easily download Ubuntu subsystem for Windows 10 directly from the Windows Store. For now, you must be signed-up for the Windows Insider program but Microsoft plans to make it eventually available for all the users from the fall Creators Update.

Ubuntu on Windows 10

Ubuntu on Windows provides Windows 10 users with the Ubuntu command line tools. After installation, you can run ‘Ubuntu Terminal’ and also some other command line utilities. This feature comes handy for most of the 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, Ubuntu terminal is running parallel to your Windows and translating the Ubuntu commands to Windows system calls.

I already had Ubuntu on Windows, what now

If you already had 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 at some point. 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, simply run ‘lxrun /uninstall’ from the command prompt.
Download Ubuntu on Windows 10 from Windows Store

How to get Ubuntu from Windows Store

The first step is ensuring that you have signed up for 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.

Now the next step is enabling ‘Windows Subsystem for Linux’ from Optional features. Run this command from an administrator PowerShell window:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
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 10. You can launch it from ‘Start Menu’ or from a CMD window.
So, in a nutshell, what we did was first enrolled ourselves in the Insider Program so that we 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 10.
In a blog post, Microsoft has mentioned that they are working to bring SUSE and Fedora to Windows. The work is near completion and you may see these distros on 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 certainly cannot run all your Ubuntu applications on Windows but the development is on and the future seems

No comments