Windows 10 running Ubuntu subsystem

Source: Internet
Author: User


Bash is a very popular command-line shell on Linux/unix, which is the Linux distribution of Ubuntu, RHEL, and the default command-line shell of the Apple OS X operating system.

Bash on Ubuntu on Windows is implemented with the latest features of Windows 10 with Windows Subsystem for Linux (WSL), and with this feature you can run most of Linux's commands in Windows native The line program.

After enabling the WSL feature, if you use Bash, the Windows 10 operating system downloads an Ubuntu User-mode image created by Canonical, and then the Bash program and other Linux binaries Can be run on the Ubuntu image. In addition, Microsoft is committed to providing more Linux distributions to choose from in the future.

Bash on the Ubuntu on Windows feature is designed primarily for developers, especially WEB developers or developers involved in some open source projects, who can use some of the Linux eco-chain development tools in Windows.

1. Enable "Windows Subsystem for Linux (WSL)"

You can see the Windows Subsystem for Linux item by scrolling down the list by turning on turn Windows features on or off using the Cortana search box search in the Win10 taskbar.

Tick it, OK, and then follow the prompts to restart the system:

2. Enable developer mode

Then go to the "settings-updates and security-for developer" Settings page and check "developer Mode".

3. Download and install Ubuntu (available from Microsoft Store)

Microsoft later distributed Ubuntu, OpenSUSE, SLEs, and Fedora to the Microsoft Store, where you can easily download and install these Linux distributions.

To download and install Ubuntu distribution as an example:

Click Ubuntu to open the Details page and click Get.

Click Start:

4, the first time to start Ubuntu, there will be an installation process, you need to set the user name and password.

In addition, we can enter the Ubuntu subsystem through the Bash command in Windows PowerShell:

After entering Ubuntu we can run some commands, such as checking the IP address and so on:

Windows 10 running Ubuntu subsystem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.