How To Install Linux On Windows 10

Setting up the Environment

While the setup is described well over at the WSL Distribution Switcher README file, we’ve made a quick 4-minute video to walk you through the setup and installation process. For an easier copy / paste operation, these are the basic steps taken:

1. Update your Windows 10 machine. Open an administrative PowerShell window and install the Windows Subsystem with this one-liner. A reboot will be required once finished.

Enable-WindowsOptionalFeature -Online-FeatureName Microsoft-Windows-Subsystem-Linux

This article describes how you can remove the Linux operating system from your computer, and install a Windows operating system. This article also assumes that Linux is already installed on the hard disk using Linux native and Linux swap partitions, which are incompatible with the Windows operating system, and that there is no free space left on the drive. Jul 23, 2018  Download and manually unpack and install (for Windows Server - instructions here) Windows 10 Fall Creators Update and later: Install from the Microsoft Store. This section is for Windows build 16215 or later. Follow these steps to check your build. Open the Microsoft Store and choose your favorite Linux distribution.

2. Once rebooted, open a command line shell and run the following commands to install the default Ubuntu environment. This will lay down the foundations for our Kali install.

3. Setup and install the WSL Switcher, download a Kali base, and extract it to disk:

How To Install Linux On Windows 10
git clone https://github.com/RoliSoft/WSL-Distribution-Switcher.git
cd WSL-Distribution-Switcher
python get-prebuilt.py kalilinux/kali-linux-docker
python install.py rootfs_kalilinux_kali-linux-docker_latest.tar.gz
lxrun /setdefaultuser root

How To Replace Windows With Linux

4. Now that Kali is set up on your Windows 10 machine, you can interact with it by running the “bash” command:

How To Install Linux On Windows 10 Buckeye Video

5. At this point, you’re inside Kali and you can use it as you normally do–install packages, use tools, etc. We strongly recommend first running an update and upgrade:

How To Install Linux On Windows 10 From Usb

Without further ado, here’s the video demonstration of the setup described above: