Windows installation CENTOS7 Subsystem

Source: Internet
Author: User

Linux Subsystem for Windows (WSL)

Since the WSL, basically the virtual machine has been saved, for the convenience of Windows, Linux for the development of friendly people, is really a big weapon. Unfortunately, the default system does not have CentOS, and fortunately, Daniel has developed a way to use Docker images to run other Linux distributions. Here are the detailed steps.

First turn on the Linux subsystem feature

This step of the online tutorial a lot, I will not say.

Install a default Linux system

Ubuntu can be selected at WIN10 's own software center

    1. Install Python3 This software is written in Python3, so you have to install Python3.
    2. Download image download Good wsl-distribution-switcher, run the python release Name: Version label, for example python centos:latest , you can go to Dockerhub to see the specific tag.
    3. Install image python release name: Version label, for example, python centos:latest . Some images are in SQUASHFS format, this time to install the relevant Python plug-in, that ispip3 install PySquashfsImage
    4. Switch Linux versions of Python, and you'll see a list of the different Linux in the system

Use Python release Name: Version label to switch to the desired version, such as Python centos:latest

    1. Note at this time the CentOS is still a very basic, many software are not, such as no sudo, which encountered problems, can find the answer on the Internet

Windows installation CENTOS7 Subsystem

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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: and provide relevant evidence. A staff member will contact you within 5 working days.