banner



How To Install Bash On Windows 10

Linux and Windows are both fantastic operating systems and work for different purposes. Over the past several years, many users have expressed an interest to use Linux on Windows. This recently became a reality when Microsoft partnered with Canonical. Canonical is Ubuntu's parent company, and post-obit this partnership, it was announced that Linux's Bash would be a part of Windows.

Fustigate in Windows 10

Enabling Bash in Windows 10 offers diverse benefits, as it creates multiple native Linux capabilities for whatsoever Windows system. Bash eliminates all the requirements of running dual-booting by Ubuntu to access many Linux capabilities.

Following the Windows ten anniversary update, Windows users can now easily admission Fustigate in Windows. This article shows yous various methods that y'all can utilise to enable Bash in Windows x without experiencing any errors. In addition to the latest Windows version, this article will also encompass how to enable Fustigate in older versions of Windows.

How to Enable Bash in Windows 10

This article covers 2 different methods for enabling Bash in Windows 10 considering the method that you use depends on the version of Windows that is installed on your organisation. Procedure One is specifically for the latest Windows version and should work well for almost users. Procedure Two is for the older versions of Windows and requires the user to enable programmer access to enable Bash in Windows.

Procedure One

It is required to follow a step-by-pace procedure to enable Bash in Windows 10, so, in the first step, enable the Windows Subsystem for Linux.

Search the term "characteristic" in the Start Bill of fare search bar and select "Turn Windows feature on and off" from the results list.

In the features list, enable the "Windows subsystem for Linux" and "Virtual machine platform" options.

Windows will accept a few moments to apply these changes to the system. Restart your arrangement to finalize the changes.

Once your organization restarts, open the "Microsoft Store" and then type and search "Linux".

After searching Linux, y'all will see a list of dissimilar Linux distros. We will install "Ubuntu." It is recommended to go with Ubuntu because the commands to install a new package in this Linux subsystem will differ.

Click the "Go" push to download and install the Ubuntu Linux distro in Windows.

Wait until the organization installs the downloaded file, then search for the installed Linux distro in the Start Menu search bar. In this case, we have installed Ubuntu, so we searched for the term "Ubuntu" and opened it from the Start Menu.

Adjacent, set the username and password. This username and countersign set-upwardly volition simply occur once, and Bash will be directly available from the next fourth dimension you lot open it.

Now, you should be able to use Fustigate in Windows 10 without whatever difficulty.

Process Two (Older Windows Versions)

If you cannot update your Windows system to run Bash, information technology is encouraged to follow the process below to enable Bash in older versions of Windows 10.

Commencement, open "Settings" from the Windows Start Menu.

Navigate to "Update & security" then select "For Developers" from the left column.

Turn on Developer Mode to enable the developer's option in Windows.

At present, search the term "characteristic" in the Start Menu search bar and select "Turn Windows characteristic on and off." You may also open this from the control panel using the Windows and Ten keys as a shortcut.

Select "Windows Subsystem for Linux" and click on the OK button.

Restart the system to implement these changes in your Windows system.

After restarting the system, search "Bash" in the Start Menu search bar, then select it from the list. Type "Y" and printing the Enter push in Bash to install Ubuntu. It volition have some fourth dimension to install Ubuntu on your system.

Finally, generate the username and password for using the Bash shell on your Windows organisation.

Bonus Tip: Install Ubuntu Font

The Ubuntu font offers an even more authentic and unique experience when using this distro in Windows x. The following section shows y'all how to install the Ubuntu font in your Windows system.

Showtime, download the Ubuntu Font Family from the official Ubuntu website.

The download file volition exist a .zip file. Open the file and await for the "UbuntuMono-R.ttf" file (it is a Ubuntu monospace font). After selecting this file, click the install push to hands install this font onto your system.

Open the Run utility in your organisation using the Windows and R keys as a shortcut.

Type "regedit" in the run utility and press the Enter key to process this command.

At present, the Registry Editor volition appear on the screen. Paste the post-obit command in the Registry Editor:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont

Afterwards that, click Edit>New>String Valueastward and define this new value as "000."

Subsequently defining the value, double click the term "000," then enter the Ubuntu Mono as its font.

Troubleshooting Issues

Result ane: Installation failed with fault 0x80070003

This error occurs due to the "Windows Subsystem for Linux" not running on the C bulldoze, which is Windows'due south system drive. To address this issue, ensure that your Linux system is installed in the C drive.

Result 2: The WSL optional component is not enabled. Delight enable it and endeavor again.

This consequence occurs when the "Windows Subsystem for Linux" has not been enabled accordingly. Follow Process Ane covered previously in this commodity to resolve this fault.

Conclusion

This article covers all the information essential for enabling Bash in Windows 10. The ability to use Bash in Windows x has become a reality because of the collaboration between Microsoft and Approved (Ubuntu's parent company). Bash in Windows x offers various benefits. With Bash, y'all tin create bash scripts, change the local Windows file system, use various NIX command-line utilities, and more.

In this commodity, we also included some ways to tackle certain common errors if you lot come up across whatsoever while performing these procedures in your organisation. Further, the article taught y'all how to download and install the Ubuntu font for a better experience and more accurate feel while working in Bash in Windows 10.

Virtually the author

Simran works as a technical writer. The graduate in MS Information science from the well known CS hub, aka Silicon Valley, is likewise an editor of the website. She enjoys writing well-nigh any tech topic, including programming, algorithms, cloud, data science, and AI. Travelling, sketching, and gardening are the hobbies that interest her.

How To Install Bash On Windows 10,

Source: https://linuxhint.com/enable-bash-windows-10/

Posted by: goldmanvizing.blogspot.com

0 Response to "How To Install Bash On Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel