How to install Microsoft Subsystem for Linux and Kali Linux that runs on Microsoft Windows 10

Microsoft has made a great effort to allow Linux and native Linux apps to run on Windows 10. Enabling Subsystem for Linux will allow you to run Linux OS and Linux native apps on top of Windows 10. For more technical details about access to Windows kernel to run Linux and/or Linux native apps, please consult Google.

First, we need to enable Subsystem for Linux on your Windows 10. Click Start, type Turn Windows Features on or off, and click to start the applet.

Scroll down the list, select Windows Subsystem for Linux, and click OK. After the necessary changes are made, click Restart now to complete the installation.

Start the Microsoft Store from the Start Menu. In the search field, type Kali and select the Kali from the results. Click Get

https://www.sefnet.tech/wp-content/uploads/2020/07/1.png

Once the installation is finished, click Launch.

After a couple of minutes, installation is complete, and you are presented with the prompt to enter the username followed by the password you want to use.

After the user is created you are presented with the following prompt:

The first thing to do is to update the basic installation. To do that, we need to run the apt-get update command to update the sources. Since we are running the command using sudo, you need to authenticate again.

The next thing to do is to upgrade our installation. Run apt-get upgrade using sudo and click Enter to run the upgrade process.

Once the upgrade process is done, we will install some tools. Run apt-get to install aptitude vim htop using sudo and click Enter to start the installation process.

Now run aptitude search kali-linux using sudo.

This will display installation bundles available. In this example, we will use large installation. To begin the installation, run the aptitude install -y kali-linux-large using sudo to start the installation process. Note that the “large” bundle installation will take approx. 25 minutes and it will require approx. 9 GB disk space. During the installation, you will be prompted with a couple of configuration options. For most of the users accepting the default option is enough, otherwise, change them accordingly.

Once the installation is complete, you can start using the available tools. From here you can continue with the installation of the X-Windows GUI that will allow you to run Linux apps that requires GUI. 

 

 

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.