What You Need to Know About Windows 10’s Bash Shell. RELATED: Everything You Can Do With Windows 10’s New Bash Shell. This isn’t a virtual machine, a container, or Linux software compiled for Windows (like Cygwin). Instead, Windows 10 offers a full Windows Subsystem intended for Linux for running Linux software. Mar 05, 2018 What You Need to Know About Windows 10’s Bash Shell. RELATED: Everything You Can Do With Windows 10’s New Bash Shell This isn’t a virtual machine, a container, or Linux software compiled for Windows (like Cygwin).Instead, Windows 10 offers a full Windows Subsystem intended for Linux for running Linux software. Installing and Updating Cygwin for 32-bit versions of Windows. Run setup-x86.exe any time you want to update or install a Cygwin package for 32-bit windows. The signature for setup-x86.exe can be used to verify the validity of this binary using this public key.
- Installing Cygwin On Windows 10
- Cygwin Install On Windows 10 Linux Subsystem
- Start Cygwin In Windows 10
- Cygwin Install On Windows 10 Linux Dual Boot
- Cygwin Install On Windows 10 Linux Kernel
Install the Windows Subsystem for Linux
Before installing any Linux distros for WSL, you must ensure that the 'Windows Subsystem for Linux' optional feature is enabled:
- Open PowerShell as Administrator and run:
- Restart your computer when prompted.
Installing Cygwin On Windows 10
Install your Linux Distribution of Choice
To download and install your preferred distro(s), you have three choices:
- Download and install from the Microsoft Store (see below)
- Download and install from the Command-Line/Script (read the manual installation instructions)
- Download and manually unpack and install (for Windows Server - instructions here)
Windows 10 Fall Creators Update and later: Install from the Microsoft Store
This section is for Windows build 16215 or later. Follow these steps to check your build.
- Open the Microsoft Store and choose your favorite Linux distribution.The following links will open the Microsoft store page for each distribution:
- From the distro's page, select 'Get'
Complete initialization of your distro
Now that your Linux distro is installed, you must initialize your new distro instance once, before it can be used.
Troubleshooting:
Below are related errors and suggested fixes. Refer to the WSL troubleshooting page for other common errors and their solutions.
- Installation failed with error 0x80070003
- The Windows Subsystem for Linux only runs on your system drive (usually this is your
C:
drive). Make sure that distros are stored on your system drive: - Open Settings -> Storage -> More Storage Settings: Change where new content is saved
- The Windows Subsystem for Linux only runs on your system drive (usually this is your
- WslRegisterDistribution failed with error 0x8007019e
- The Windows Subsystem for Linux optional component is not enabled:
- Open Control Panel -> Programs and Features -> Turn Windows Feature on or off -> Check Windows Subsystem for Linux or using the PowerShell cmdlet mentioned at the begining of this article.
Active3 years, 2 months ago
I got the Windows 10 Anniversary update today and I'm excited to try the new Linux subsystem on windows. I previously have Cygwin installed on windows 10. So when I run bash from the command prompt, It directly launches cygwin instead of trying to install the Linux Subsytem for windows. Would uninstalling Cygwin help?
magicandre198184.5k2121 gold badges134134 silver badges210210 bronze badges
Vivek VijayanVivek VijayanCygwin Install On Windows 10 Linux Subsystem
18711 gold badge33 silver badges1616 bronze badges
1 Answer
If you invoke
where bash
in the command prompt, you will find that the Cygwin /usr/bin
or similar was found in your PATH. In fact, where
might even find two bash
es, one from Cygwin and another from Bash for Windows.The fastest, simplest way to resolve this problem is to remove Cygwin from your PATH environment variable. With your command prompt still open, run
systempropertiesadvanced
, click on Environment Variables...
on the bottom right, find the Path
entry in the System variables list, click Edit, and remove the part that includes Cygwin.Start Cygwin In Windows 10
If this still seems too complicated for you, use a program like Rapid Environment Editor that makes this a painless, hard-to-screw-up process.
Also, don't forget to actually install Bash for Windows as a Windows feature (thanks Ramhound).
Community♦
Cygwin Install On Windows 10 Linux Dual Boot
oldmud0oldmud03,15333 gold badges1616 silver badges3737 bronze badges