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,
Then go to the Microsoft Store and search for "Running Linux on Windows",
The Linux systems currently available for free download include Ubuntu, openSUSE Leap 42, and SUSE Linux Enterprise Server 12
Download and install ubuntu
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
Use apt to install golang and godoc: sudo apt install golang-go & sudo apt install golang- golang-x-tools
View installation and execute some common commands
##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!