linux + windows

WSL activation and Ubuntu 20.04 (and others) installation on Windows 10

The Windows Subsystem for Linux lets developers run a GNU/Linux environment — including most command-line tools, utilities, and applications — directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup.

You can:

  • Choose your favorite GNU/Linux distributions from the Microsoft Store.
  • Run common command-line tools such as grepsedawk, or other ELF-64 binaries.
  • Run Bash shell scripts and GNU/Linux command-line applications including:
    • Tools: vim, emacs, tmux
    • Languages: NodeJS, Javascript, Python, Ruby, C/C++, C# & F#, Rust, Go, etc.
    • Services: SSHD, MySQL, Apache, lighttpd, MongoDB, PostgreSQL.
  • Install additional software using your own GNU/Linux distribution package manager.
  • Invoke Windows applications using a Unix-like command-line shell.
  • Invoke GNU/Linux applications on Windows.

Enabling WSL on Windows 10

The first step will be to go to the “Settings” of Windows 10. Then go to “Apps & Features“.
Once the “Apps and Features” page is open, just select “Programs and Features“.

activate wsl windows 10

This link will take us to the “Program and Features” page in this page, select “Turn Windows features on or off“.

activate wsl windows 10

The “Windows Features” page will now open, now you’ll have to look for the following mention: “Windows Subsystem for Linux“. Once found, check it to activate it.

activate wsl windows 10

Maintenant il faut redémarrer la machine. Une fois le redémarrage terminé l’environnement sera configuré pour pouvoir télécharger et installer les distributions de Linux sur Windows 10 🙂

How to check Windows Subsystem for Linux (WSL) version

There is a simple command to check the version of your WSL installation:


Open Powershell and type this command

wsl -l -v
check wsl version

Installing Ubuntu 20.04 (and others) on Windows 10

Now that WSL is installed we will go to the Microsoft store to download Ubuntu. I did a search for “WSL” to find it but you can also type Ubuntu directly.

There are many distributions available on the store so you can search for another one if you need one 🙂

For example, select “Ubuntu 20.04 LTS“.

Installation ubuntu 20 sur windows 10

Then, click on “Install

Installation ubuntu 20 sur windows 10

Wait for the download to end…

Installation ubuntu 20 sur windows 10

Once finished, you can start the session by clicking on “Start“.

Installation ubuntu 20 sur windows 10

At first startup, Ubuntu will ask you to create a user and a password, choose them well and don’t forget them 🙂 Have fun

Installation ubuntu 20 sur windows 10

If you ever have any worries or questions. Don’t hesitate to use the comment space!

Leave a Reply

Your email address will not be published. Required fields are marked *