Windows 10 install Linux subsystem Ubuntu

Original blog: Doi Technical Team
Link address: https://blog.doiduoyi.com/authors/1584446358138
Original intention: record the learning experience of an excellent Doi technical team

I believe that most of my classmates use Windows like me, but as a developer, Linux commands are often used. In the past, we used a virtual machine to install Linux. If the computer configuration is low, it is basically It's stuck. After Windows 10, we don't have to be so troublesome anymore, because we can install the subsystem directly on Windows, and this subsystem is Ubuntu.

First we have to open the Windows function

Tick here

Then open Settings--->Update and Security--->For developers, select developer mode--->OK to start.

The author introduces two installation methods, the first is search and obtain from the app store, and the second is install using commands in PowerShell.

The first one is to search in the app store

First, we first open the Windows application store. If there is an application store on the start menu of the reader, you can click to start it directly.

If not, you can search Store directly.

Then search Ubuntu on the app store, you can get the following results, we click to get these apps, and go to the next page.

Then select Ubuntu and click to enter, because the author has already installed it, so it shows installed, if it is not installed, it should show free download. Then click to get the installation.

After the installation is successful, there will be an Ubuntu icon, which we can fix on the start screen like other applications. Click Start to open the Ubuntu command terminal. The user name and password must be set for the initial installation. Refer to the configuration in the next section for this operation.

Now introduce the installation method of Chapter 2:

Open PowerShell

Install Linux, enter lxrun /install in PowerShell

After entering y, the download will start. This is a very long wait, although it is only more than 180M, the editor will take a nap first.

This interface will appear after the download is complete, and then we press y to continue

This interface may take a long time, this is normal, don’t worry

**Set Ubuntu username: **

Enter Ubuntu username

enter password

confirm password

Finally the installation is complete

After the installation is complete, you can enter the Ubuntu command environment by typing bash when opening PowerShell in the future

Open the root directory and check if you see a familiar directory. At the same time, we also know that all of our drive letters are in mnt

If you want to uninstall the Ubuntu subsystem, you can enter lxrun /uninstall /full in PowerShell, remember not from the Linux command line

Uninstall complete

Or you can uninstall it on the app settings

Recommended Posts

Windows 10 install Linux subsystem Ubuntu
Windows 10 subsystem linux install pagoda panel Ubuntu
Install linux (ubuntu) dual system under windows system
2.5 Linux (Ubuntu18.04) install database PostgreSQL
Linux (ubuntu 12.04)
Install MySQL on Linux CentOS7 (Windows)
Windows Ubuntu subsystem ssh and ftp
ubuntu18.04 install python2
ubuntu18.04 install docker
ubuntu12.04 install python3
Ubuntu install guide
[Daily] Win10 open and install ubuntu subsystem
ubuntu install nodejs
ubuntu 16 install asp.net
How to install MySQL on Ubuntu 18.04 (linux)
ubuntu install leanote
ubuntu install Jenkins
Linux01 install centOS6.5mini
docker install ubuntu
ubuntu install elasticsearch
Windows install WSL--Ubuntu
ubuntu16.0.1 install pagoda
ubuntu18.04 install python
Linux install Docker and run Ubuntu system
ubuntu 18.04 install teamviewer
windows use ubuntu to start linux service
ubuntu install sendmail
How to install vim editor under Linux (Ubuntu 18.04)
Windows10 install ubuntu20.04 dual system detailed graphic tutorial
Detailed steps to install Anaconda on Linux (Ubuntu 18.04)
Install and use Git and GitHub on Ubuntu Linux
Detailed steps to install Anaconda on Linux (Ubuntu 18.04)
Win10 install Linux ubuntu-18.04 dual system (installation guide)
How to install Oracle Java 14 on Ubuntu Linux
Install apache+PHP under Ubuntu
install vscode on ubuntu18
Install node.js under Ubuntu
Install mysql-pytho in Ubuntu
ubuntu install zsh terminal
Install Redis on Ubuntu
Install R4 on ubuntu20
Install nvtop on Ubuntu 18.04
Install postgresql-10 on Ubuntu 18.04
Install python3.6 under Ubuntu 16.04
Install docker on Ubuntu
Ubuntu18.04 install opencv 3.2.0 solution
Install mysql under Ubuntu 16.04
Install Thrift under ubuntu 14.10
About win10 subsystem (ubuntu)
Install OpenJDK10 under Ubuntu
Install Caffe under Ubuntu 14.04
Install Docker on ubuntu18.04
Install nodejs10 on Ubuntu16
ubuntu install harbor warehouse
linux install snmp service-ubuntu
Install mysql on Ubuntu 14.04
Ubuntu16.04 install Mongodb tutorial
Install Django on ubuntu
Linux Centos7 install jdk1.8
Install Pytorch+CUDA on Ubuntu 16.04
2018-09-11 Install arduino under Ubuntu