Home  >  Article  >  Operation and Maintenance  >  To run Linux directly on Windows, it's great to have a command line!

To run Linux directly on Windows, it's great to have a command line!

Linux中文社区
Linux中文社区forward
2023-08-04 16:39:571386browse

I have learned about some Windows subsystems for Linux before, and recently I heard someone mentioned them, so I installed Ubuntu on my Windows 10 Professional version.
It’s really convenient to run. In the future, you don’t need to install a desktop virtualization application when developing Linux programs on Windows. The specific steps are explained below.
First you need to enable "Windows Subsystem for Linux" in the control panel,
To run Linux directly on Windows, it's great to have a command line!
Then go to the Microsoft Store and search for "Running Linux on Windows",
To run Linux directly on Windows, it's great to have a command line!
The Linux systems currently available for free download include Ubuntu, openSUSE Leap 42, and SUSE Linux Enterprise Server 12
Download and install ubuntu
To run Linux directly on Windows, it's great to have a command line!
You will be prompted to create a username and password during installation
The installation process is very fast, it takes only a few minutes to install.After installation, execute sudo apt update & sudo apt upgrade
To run Linux directly on Windows, it's great to have a command line!
Use apt to install golang and godoc: sudo apt install golang-go & sudo apt install golang- golang-x-tools
To run Linux directly on Windows, it's great to have a command line!
View installation and execute some common commands
To run Linux directly on Windows, it's great to have a command line!
##After Linus Torvalds, the father of Linux, joined Microsoft, the Windows system has undergone considerable improvements; Windows 10 has done well, and now there is a Windows subsystem suitable for Linux. On Windows
It is so convenient to carry out cross-platform development, and I can finally get rid of the unstable virtualbox virtual machine.

The above is the detailed content of To run Linux directly on Windows, it's great to have a command line!. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:Linux中文社区. If there is any infringement, please contact admin@php.cn delete