Installing Linux Terminal For Windows: Know All About It

Windows and Ubuntu are the two different operating systems for computers and laptops. Switching from one operating system to another can be quite difficult. When you decide to switch from Windows to Linux, either you will need to store your data and then uninstall Windows to install Linux and then transfer your entire data in the new operating system or you can have a dual boot system where you get to select an option as to which operating system to choose in the beginning.

Both of these methods are quite tedious. You can practice Linux terminal commands on Windows 10 too. It will not only save a lot of work but also your time.

Their commands and their functionality are quite different. Different structures and kernels are used to run Windows 10 and Ubuntu. Ubuntu uses a microkernel and bash terminal, while Windows 10 uses a hybrid kernel and command prompt to run their operating systems.  Ubuntu is open-source under GNU’s new license while Windows is a paid operating system. 

Earlier it was not possible to use Linux on Windows. But recently Microsoft’s CEO and Ubuntu’s parent company Canonical agreed to run a bash terminal on Windows operating system.  As an Anniversary update, Windows introduced a subsystem for Linux which became quite a stable and effective feature. 

Also read: 10 Ways to Speed Up Windows 10 – TechSunk

If you have not downloaded the fall creator’s update or if you are facing any problem with the new updated version feature, then you can install the Linux terminal by enabling the Windows developer preview.

Linux terminal for Windows PC

Step 1: At first, you need to go to ‘Settings’ and find the ‘Update and Security’ option there.

Step 2: Then select the ‘Developer’s Mode’ option under the ‘Update and Security’ menu which you will find after opening the window on the left-hand side.

Step 3: Next you need to open the ‘Control Panel’ from the Developer’s Mode Menu.

Step 4: After opening the ‘Control Panel’ you need to find the option of ‘Programs and Features’ and click on it. 

Step 5: Then you need to turn the Windows features ‘On’ or ‘Off’.

Step 6: After clicking on the Windows ‘On-Off’ feature, several options will be displayed on your screen. 

Step 7: From the listed options, you need to search for the windows subsystem for the Linux terminal (beta version). As soon as you find it, you need to click on the ‘Ok’ option there. After clicking on the ‘Ok’ option your system will ask you to restart your Windows 10 operating system.

Step 8: This will enable the Windows Subsystem for Linux Option in the List. Next, you need to click on the ‘OK’ option and then click on the ‘Restart Now to Reboot your Computer’ option.

Step 9: After your Windows 10 operating system restarts, you need to click the ‘Start button’, or you can press the Windows key.  

Step 10: Now you need to type ‘bash’, and then press the ‘Enter key’.

Step 11: Once Ubuntu has been downloaded and installed on your Windows, you will need to create a ‘User Account and Password’ to use bash, as it is important for security purposes. 

Step 12: Now, again you need to click on the ‘Start button’ or press the ‘Windows key’, search for Ubuntu or type bash, and press the ‘Enter key’.

Also read: How to fix blue screen error on windows 10 (techsunk.com) 

Problems while installing Ubuntu

Now there are chances that you might face problems while installing Ubuntu. 

You might see a message like:

“Windows Subsystem for Linux has not installed distributions. Distributions can be installed by visiting   Microsoft Store.

Press (any key) to continue…”

Then you need to open the ‘Command Prompt’ and type “lxrun /install“. This will install Ubuntu on your Windows.

Next, a list of terms and conditions will be displayed on your screen. You need to accept it after which Ubuntu bash will be downloaded from the Windows store on your device. 

If the bash does not open or the solution mentioned above is not working, then you can open ‘Microsoft Store’. From there, you can download and install Ubuntu. 

OR

If it shows any code, you can troubleshoot with the solutions mentioned below:

Code- WslRegisterDistribution failed with error 0x8007019e

If this code is displayed on your screen, then there is a possibility that your subsystem for Linux is not enabled.

For enabling it, first, you need to go to the ‘Control Panel’. From there, you need to go to ‘Programs and Features’, then you will have to turn the windows feature ‘On’ or ‘Off’. check whether ubuntu has installed or not.

Code- Installation failed with error 0x80070003

This error occurs at the time of installing your refund operating system or any event to software on disk that is not installed on the ‘C drive’. 

First, you need to go to ‘Settings’, then to ‘Storage’, and from there, you need to check whether the contents are being saved or not. If not, you will need to enable the ‘saving content’ mode.

Also read: Find Windows 10 Product Key: Know How (techsunk.com)

~ You can also install the Linux terminal for Windows 10 from ‘Windows PowerShell’.

In case you need to install the Ubuntu Linux bash terminal from Windows PowerShell, you need to enable the Windows subsystem for Linux from the PowerShell.

Step 1: First, you need to go to the ‘Start window’ and search for the ‘PowerShell’. Then you need to right-click on the ‘PowerShell tab’ and click on the ‘Run as administrator’ option. 

Step 2: Now you need to enter the following command to enable bash on your operating system:

“Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux”

It will ask you to click on any key and right after that, your operating system will restart.

Step 3: Once your system restarts, you need to open ‘Windows Store’ and search for ‘Ubuntu’ in the ‘search box’.

Step 4: You will see that an option named ‘SUSE’ will be displayed on your screen. You need to click on it. Further, you will see the option of ‘Ubuntu’ which you will need to select.  Now, just click on the ‘Install’ option after clicking on Ubuntu.

Step 5: After clicking on it, you will need to wait for some time as you are installing it for the first time.

Step 6: After that, you need to enter your username and password and it will run like a normal Windows application.

linux terminal for windows

Conclusion

After going through this article and following every step, we hope that you don’t face any problems during the installation of the Linux terminal for Windows PC.

Please Note: installing Linux on Windows 10, does not make your operating system slow or fast. It just takes some time to process after installing Linux and after that, it acts like a normal operating system.

Also read: How To Use On-Screen Keyboard In Different Windows Versions (techsunk.com)

How To Take Screenshot In Windows? (techsunk.com)

Learn To Disable Windows Defender In Windows 10 (techsunk.com)

Share

Subscribe to our Newsletter