Turn on and launch Linux apps and commands in Windows.
If you want to run a Linux terminal on Windows, it is easier to use the Windows Subsystem for Linux. It's pretty easy to set up and you will be running commands in no time. But first you need to enable the Windows Subsystem for Linux (WSL).
This article shows you how to enable the Windows Subsystem for Linux, a gateway opener that allows you to install a Linux bash shell on Windows. You don't need a virtual machine, let alone dual boot, which can be tricky for beginners.
Requirements for running the Windows Subsystem for Linux on Windows 10
Before describing in detail how to activate the Windows subsystem for Linux, you should find out about the minimum requirements.
According to Microsoft, you should do the following:
Windows 10 (64-bit) version 2004 and higher with build 19041 (or higher) or,
How to check which version of Windows 10 you have installed.
Some older Windows 10 versions may work too, but that means you'll have to take the manual installation route for WSL.
How to enable the Windows subsystem for Linux
If you're having trouble installing the Linux bash shell on Windows 10, one of the problems could be that you haven't enabled the Windows subsystem for Linux. If so, you will encounter an error: "The Windows Subsystem Optional Component for Linux is not enabled. Please enable it and try again."
To enable the Windows subsystem for the Linux component in Windows 10:
Open Windows 10 settings App.
click Programs and functions under the Associated settings Section right.
Under the Programs and functions Side, click Turn Windows features on or off on the left panel.
Scroll down and enable Windows subsystem for Linux.
click OK to save your changes.
Blow Restart now to complete the process.
Next, you need to install the Windows Subsystem for Linux. You can then install any supported Linux distribution directly on your Windows PC.
In addition, you can also install a Linux desktop in Windows, which gives you a graphical user interface to work with.
Properly install Linux distributions on Windows
For a smooth installation of Linux in Windows 10, first activate the Windows subsystem for Linux. It doesn't take much time and it saves you installation errors.
Getting started with Linux and Ubuntu
Looking to move to Linux … but where do you start? Is your PC compatible? Will your favorite apps work? Everything you need to know to get started with Linux is here.
About the author
(121 published articles)
Alvin Wanjala has been writing about technology for over 2 years. He writes on a variety of facets including but not limited to mobile, PC, and social media. Alvin loves programming and gaming during downtime.
By Alvin Wanjala
Subscribe to our newsletter
Subscribe to our newsletter for tech tips, reviews, free e-books, and exclusive offers!
Click here to subscribe