The native Windows Subsystem for Linux, currently in the Anniversary Update, has become a stable part of the Fall Creators Update. You can now run Ubuntu as well as openSUSE on Windows, Fedora and many other Linux distributions.
What you need to know about the Windows 10 Bash shell
CONNECT: Everything you can do with the new Bash Beta shell in Windows 10
This is not a per-container VM or compiled Linux software from a Windows perspective (like Cygwin). Instead, Windows 10 offers a complete Windows subsystem thatDesigned for Linux, to run Linux computers. It is based on the work of Abandoned Microsoft Project Astoria to run Android options on Windows.
Can I run bash on Windows 10?
At // Build 2016, Microsoft announced the ability to permanently run the original Bash and GNU/Linux command-line tools on the new Windows Subsystem for Getting Linux (WSL), which will be released soon for updated builds.
Think of it as the exact opposite of wine. While Wine allows you to run Windows applications directly on Linux, the Windows Subsystem for Linux allows you to run Linux applications directly on Windows.
Microsoft, through Canonical, has been working to create a complete Ubuntu-based bash shell environment running on this subsystem. Technically, it’s not Linux at all. Linux is the root kernel of the operating system and is not available here. Instead, you can use it to run the bash shell as well as the same binaries you would normally run on Ubuntu Linux. Free software proponents often argue that the average operating system should be the Linux system called “GNU/Linux” because most of it was actually created by GNU software running on the Linux kernel. The bash shell can only contain all these GNU utilities and other software.
Even though this loan was originally called “Bash on Ubuntu Windows”, it allows you tom run Zsh and a few other command line shells. It now also supports other Linux distributions. You can use openSUSE Leap or SUSE Enterprise Server other than Ubuntu and Fedora is coming soon as well.
There are some restrictions here. It doesn’t support previous servers and software yet, it doesn’t work reliably with Linux desktop graphical approaches. Not all command lines work, especially since the functionality isn’t perfect. Aria-level=”2″
How to Install Bash on Windows 10
CONNECT. How do I know if my Windows is 32-bit or 64-bit?
This feature does not work on some 32-bit versions of Windows 10, so be sure to use the 64-bit version of Windows. It’s time to switch back to Windows 10 64-bit, even though you’re still using most of the 32-bit version.
Assuming you have a 64-bit version of Windows, start by going to Control Panel > Programs > Turn Windows features on or off. Check “Windows Subsystem for Linux” to access the list, then click OK.
Click Rezaload now” when prompted to restart the computer. This feature will not work until the entire family has been restarted.
Note. Starting with the Fall Creators Update, you no longer need to license Developer Mode in Settings to use this feature. You just need to install it from the windows components window.
After your computer restarts, open the Microsoft Store from the Start menu and search for “Linux” in the Store. Under the banner “Linux on Windows?” click Download Apps.
Note. As of the Fall Creators Update, you no longer need to install Ubuntu by running “bash”. Instead, you’ll need to install Ubuntu or another Linux distribution directly from the Store app.
RELATED: What’s the difference between Ubuntu and openSUSE, Fedora and Windows 10?
You will see a list of Linux distributions currently available in this Windows Store. Starting in the fall of every Creators update, this includes Ubuntu, openSUSE Leap, and openSUSE Enterprise, with a strong promise that Fedora will visit soon.
Update: Debian and Kali are currently available in the store, but details are not available here. Find “Debian Linux” with “Kali Linux” to find and add them.
To install a Linux distribution, type it in, then click the “Get All” or “Install” button to install the home version just like any other app from the store.
If you don’t know which Linux environment to use for installation, we recommend Ubuntu. This popular Linux distribution used to be the only option available, but other Linux components are now available for people with more specific needs.
You can install multiple Linux distributions in the same way, plus each one will get its own shortcuts. You can even run several different Linux distributions at the same time if it’s on different windows.
How to use the bash shell and install Linux software
CONNECTING: How to Install Linux in Ubuntu Bash Shell for Windows 10
You now have a full command line shell based on Ubuntu or any other Linux distribution you have installed.
Because they are the same binaries, if you have ever used Ubuntu, you can use the Ubuntu apt or apt-get command, which installs software from the Ubuntu repositories. Just use what you normally use for your Linux distribution. You have access to all available Linux command line utilities, although some applications are not yet fully functional.
To open what I would say is an installed Linux environment, simply read the start menu and search for work with the installed distribution. For example, if you have Ubuntu installed, launch the Ubuntu shortcut.
You can pin this work shortcut to the Start menu, taskbar, and top of your desktop for easier access. First
On the days you start the Linux partition, you will be prompted for an important UNIX username and password. They don’t have to match your Windows password or even your username, but they can be found in a Linux environment.
For example, even if you enter “bob” and “letmein”, your Linux username will be “bob”, and in addition, the password you use in Linux environment will be “letmein”. it doesn’t matter what your name isWindows user and account information.
CONNECT: How to set default Linux distribution in Windows 10
Basically, you start the installed Linux environment by running the
wsl command. If you and your family have multiple Linux distributions installed, your organization can choose the default Linux workstation to run with this command.
How do I fix Bash not working on Windows 10?
On the settings page that appears, simply check the “Developer Mode” box, click “Yes” in the dialog box, and restart your workstation. Bash should work from there, unless there’s another reason why it shouldn’t work. Thanks! Enabling agency mode solved this issue for me.
If you have Ubuntu installed, you can also run the
ubuntu command to install it. For openSUSE Leap 42 use
opensuse-42 . For SUSE Linux Enterprise Server 15, use
sles-12 . These commands are listed in the Linux distribution description in the Windows Store.
In essence, you can boot a Linux environment continuously by running
bash, but Microsoft says this is not recommended. This
bash policy may cause the command to stop running in the future.
If you have experience with the bash shell on Linux, Mac OS X, or other platforms, you will feel right at home.
In Ubuntu, your company must prefix
sudo before purchasing in order to work with Cheer privileges. “root” user on platformsUnix has full access to the system, the “Administrator” user on Windows uses it. Your Windows file system is next to
/mnt/c in a bash environment.
Use the same Linux terminal instructions as for the bypass. If you’re used to the standard Windows command line with its DOS commands, here are a few basic commands preferred by both Bash and Windows: