Menu
- Installing Linux Under Windows 10
- Installing Linux On Windows 10 Machine
- Linux Installer For Windows 10
- Installing Linux On Windows 10 Tablet
- Windows 10 Usb Installer For Linux
As an operating system, Linux offers impressive stability, amazing open-source support and an incredible array of powerful administration tools. While Windows 10 is able to offer support for some of these things, there’s nothing quite like using a bash shell to manage your local and network machines. Until fairly recently, running bash on Windows has required Cygwin or the equivalent.
Dual Boot Linux with Windows 10 – Windows Installed First. For many users, Windows 10 installed first will be the likely configuration. In fact, this is the ideal way to dual boot Windows and Linux.
In recent versions of Windows 10, Microsoft has allowed users to install a beta version of a bash shell via Ubuntu. With the Fall Creators Update (Update 1709), users are now able to install the Windows Subsystem for Linux (WSL). With WSL, you can run powerful shell commands through a real bash shell, manage multiple distros, and even install Linux command line packages and applications with
apt-get
.- Learn a simple way to manually install CentOS on Windows 10 Subsystem for Linux in order to run RHEL’s RPM or YUM repository commands Windows Subsystem for Linux is a state-of-art feature for users.
- In no time bash became default shell on Unix like systems including Linux distributions. Now Microsoft included Windows 10 leasing Bash shell as a beta version including the core functionalities – awk, sed, grep, PERL, Git, editors (vi, emacs), ssh, apt-get, mounting local hard drives etc. To name a few.
What Is the Windows Subsystem for Linux?
The Windows Subsystem for Linux is a stripped-down version of Linux that runs within Windows 10. The language Microsoft uses to describe the feature can be somewhat confusing, making it sound like you’re installing an additional operating system alongside your Windows 10 installation. While you are installing pieces of a full Linux distribution, you’re not getting the desktop environment or window manager that we often associate with desktop Linux. You won’t overwrite Windows 10 files, nor do you need to dual-boot your system.
Don’t be disappointed, however. Instead of getting a GUI, you’re getting the most powerful and useful part of Linux: the command line interface. With this tool you can take control of the deep functionality of your system, using bash commands and command-line applications from Linux.
The Windows Subsystem for Linux lets users run bash commands like
grep
, sed
and awk
, as well as bash scripts and Linux command-line applications like vim, emacs and tmux. You’ll also get access to languages like Javascript and node.js, Ruby, Python and C/C+, as well as services like sshd, MySQL, Apache, and lighttpd. And if the installation doesn’t come with what you want, you can install Linux packages using the apt-get
package manager. Learn more about the Windows Subsystem for Linux from Microsoft.You may have previously heard this referred to as “Bash on Ubuntu on Windows.” That was the beginnings of WSL, and it was in beta on Windows 10 for about a year. With the full release of WSL in the Fall Creators Update, Bash on Ubuntu on Windows is now deprecated and will no longer receive updates from Microsoft or Canonical. If you had that beta installed, installing the Windows Subsystem for Linux may overwrite your existing Bash on Ubuntu files.
Enabling the Windows Subsystem for Linux in the Windows 10 Fall Creators Update and Later
The full version of the Windows Subsystem for Linux is only available for the Fall Creators Update (1709, build 16215 and later). With that version of Windows you can actually install the Windows Subsystem for Linux from the Windows Store. You just need to do some preparation in PowerShell.
Step 1: Turn on the subsystem in PowerShell
1. Search for “PowerShell” in the Start Menu.
2. Right click on the PowerShell icon and choose “Run as Administrator.”
3. Copy the following command and paste it to the PowerShell command line by right-clicking. Then press the Enter key.
4. Press Y, then Enter to restart your computer when prompted. Your PC will restart instantly, so be sure to save any work beforehand.
Step 2: Install your Linux distro from the Windows Store
1. Navigate to the Windows Store and click on the distro of Linux you want to install. As of this writing, three distros of Linux are available for installation, including Ubuntu.
2. Click the “Get” button to download the distro.
Step 3: Launch and Run the Distro
1. In the Windows Store, click Launch to run the newly-installed application. You can also find the distro by typing its name (in this case, Ubuntu) in to the Start Menu, just like any other application.
2. Once the window opens, wait for the installation process to finish.
3. Create your UNIX username and password. This can be different from or the same as your current Windows username and password, and has no relationship to your existing username and password.
Conclusion
Mission accomplished! You now have the Windows Linux Subsystem installed, providing a bash shell on your Windows 10 machine. From here you can use bash commands, run shell scripts and install additional utilities with
apt-get
. It’s a fully-featured shell, so the limits are about what you’d expect from an actual Linux installation.Image credit: Windows 10 Anniversary Update
Ebooks
Starting with the Windows 10 Fall Creators Update, Microsoft is making some Linux distros, including Ubuntu, SUSE Linux Enterprise Server 12, and OpenSUSE Leap 42 available in the Windows Store. Additionally, it's no longer a prerequisite to enable Developer mode, which makes the installation of Linux distros a lot easier.
However, a number of users a seeing an error code 0x8007007e as they try to install any of the distros, but it's not a bug in the software. Instead, users are seeing this error because the Windows Subsystem for Linux (WSL), the compatibility layer to run Linux binary executables on Windows 10 is missing.
In this Windows 10 guide, we'll walk you through the steps to successfully install Ubuntu, SUSE Linux Enterprise Server 12, and openSUSE Leap 42 on your device.
How to install Windows Subsystem for Linux
Installing Linux Under Windows 10
Before you can install any version of Linux on Windows 10, you must install WSL using Control Panel.
- Open Settings.
- Click on Apps.
- Click on Apps & features.
- Under 'Related settings,' on the right side, click the Programs and Features link.
- Click the Turn Windows features on or off link.
- On 'Windows Features,' check the Windows Subsystem for Linux (Beta) option.
- Click OK.
- Click Restart now.
After completing the steps, you can open the Windows Store to get the Linux distro you want to use.
Installing Linux On Windows 10 Machine
Installing Windows Subsystem for Linux using PowerShell
If you prefer using the command line method, it's also possible to install the Windows Subsystem for Linux using PowerShell.
- Open Start.
- Search for PowerShell, right-click the result, and click Run as administrator.
- Type the following command to add the required module and press Enter:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Type Y to complete the installation and restart your computer.
How to install Linux distros on Windows 10
Linux Installer For Windows 10
After adding the Windows System for Linux module to your computer, there are two ways to install Ubuntu or SUSE Linux distros on Windows 10: you can use Command Prompt or the Windows Store.
Installing Linux distros using Command Prompt
- Open Start.
- Search for Command Prompt, right-click the result, and click Run as administrator.
- Type one of the following commands to install Ubuntu, SUSE Linux Enterprise Server 12, or openSUSE Leap 42 and press Enter:
ubuntu
sles-12
opensuse-42
As you execute the command, the required files will download and install automatically on your device. Then simply follow the on-screen directions to complete the setup.
Installing Linux distros using Windows Store
Perhaps an easier way to install Linux distros on Windows 10 is to use the Windows Store using the following links:
Once the installation completes, launch the app, and complete the on-screen directions.
Remember that you're not limited to install just one version of Linux. If you want, you can also install all three, including Fedora Linux when it becomes available in the Store, and run them all simultaneously.
Installing Linux On Windows 10 Tablet
You can install Linux distros using the Store starting with the release of the Windows 10 Fall Creators Update. However, if you have a device enrolled in the Windows Insider Program running the latest test build for PC, you can try any of them immediately. Also, note that devices running the Windows 10 Creators Update only supports Ubuntu, which can be installed using these steps.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:
Windows 10 Usb Installer For Linux
We may earn a commission for purchases using our links. Learn more.