Install Bash on Ubuntu on Windows | Linux0

Опубликовано: 04 Май 2026
на канале: Linux0
591
7

Install Ubuntu on Windows 10, Get access to the unrivalled power of the Ubuntu terminal, including tools such as SSH, apt and vim, directly on your Windows 10 computer.
------------------------------------------
1. Overview
The wonderful Ubuntu terminal is freely available for Windows 10.
As any Linux user knows, it's the command line terminal where the magic happens. It's perfect for file management, development, remote administration and a thousand other tasks.

The Ubuntu terminal for Windows has many of the same features you'll find using the terminal on Ubuntu:

Unrivalled breadth of packages, updates and security features
Bash, Z-Shell, Korn and other shell environments without virtual machines or dual-booting
Run native tools such as SSH, git, apt and dpkg directly from your Windows computer
A huge community of friendly, approachable users
------------------------------------------
2. Requirements
You will need a x86 PC running Windows 10.

More importantly, the Ubuntu terminal for Windows 10 is currently only available as part of Microsoft's free Windows Insider Program. This lets you test pre-release software and upcoming versions of Windows while potentially allowing Microsoft to collect usage information.

If stability and privacy are essential for your installation, consider waiting for the Windows 10 Fall Creator update, due October 2017. With this release, installing the Ubuntu terminal won't require Windows Insider membership.
------------------------------------------
3. Join Windows Insider
If you're already a member of the Windows Insider Program, skip to the next step. If not, open the following link in your favourite web browser:

https://insider.windows.com/en-us/get...

To enrol, sign in using the same Microsoft personal account you use for Windows 10 and follow the Register your personal account link from the Insider Program getting started page. Accept the terms and conditions to complete the registration.

You now need to open Windows 10 Settings from the Start menu, select ‘Updates & Security' followed by ‘Windows Insider Program' from the menu on the left.
------------------------------------------
5. Activate the Windows Subsystem for Linux
While Ubuntu does appear when searched for within the Windows Store, it currently needs to be installed and activated separately, starting with the Windows Subsystem for Linux:

Search the Start menu for ‘Windows features' and select the resultant control panel
Scroll through the Windows Features pane and enable Windows Subsystem for Linux (Beta)
Press OK to activate the changed configuration
When prompted, restart your machine.
------------------------------------------
6. Enable Developer Mode
After your PC has restarted, one final step is required before we can install Ubuntu for Windows, and that's enabling Developer Mode. Enabling this allows you to install and run apps from outside the Windows Store:

Open the Settings pane from the Start menu
Select Update & security and then For developers from the left-hand menu
Enable the Developer mode toggle and accept the warning
------------------------------------------
7. Install Ubuntu for Windows 10
Open the Windows Command Prompt. The easiest way to do this is to type cmd into the Start menu and run the default result.

When the command prompt appears, type bash. The output from this command will announce that Ubuntu for Windows is about to be installed. Type y to continue. The package will now be downloaded and installed - you may also be asked whether to install packages for your specific locality/region.

Finally, you'll be asked for a username and password specific to your Ubuntu installation. These don't need to be the same as your Windows 10 credentials. With this step complete, you'll find yourself at the Ubuntu bash command line.
------------------------------------------
Facebook:   / linux0cambodia  
Twitter:   / linux0cambodia