Video thumbnail for How to Install Kali Linux On Windows 11 Using WSL Step-by-Step

How to Install Kali Linux On Windows 11 Using WSL Step-by-Step

Jul 26, 2024

linuxtechi.com

In this video, we'll show you how to install Kali Linux on Windows 11 using Windows Subsystem for Linux (WSL). Our detailed, step-by-step guide is perfect for beginners and ensures you can follow along easily. **What is WSL?** Windows Subsystem for Linux (WSL) allows you to run a Linux distribution alongside your Windows operating system without the need for a virtual machine. It's a fantastic tool for developers, IT professionals, and cybersecurity experts who need the power of Linux within their Windows environment. **Kali Linux Installation Steps on Windows 11 Using WSL:** 1. **Enable WSL on Windows 11** - Start PowerShell with administrative rights and run the following commands: ``` dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart ``` - Reboot your system to apply the changes. 2. **Set WSL version 2 as the default version** - Open PowerShell as an administrator and enter: ``` wsl --set-default-version 2 ``` 3. **Install the Linux Kernel Update package** - Download the Linux kernel update package from the official Microsoft page. 4. **Install Kali Linux from Microsoft Store** - Head to the Microsoft Store, search for 'Kali Linux', click 'Get', and wait for the installation to complete. 5. **Initial Setup of Kali Linux** - Open Kali Linux and set up your user account by following the prompts to create a username and password. 6. **Update and Upgrade Kali Linux** - Run the following commands to ensure your system is up-to-date: ``` sudo apt update sudo apt upgrade -y ``` 7. **Install Win-Kex Utility to Enable GUI** - Install the Win-Kex package with these commands: ``` sudo apt update sudo apt install kali-win-kex ``` - Launch the GUI interface: ``` kex --win -s ``` 8. **Manage Kali Linux WSL** - To list WSL instances, run: ``` wsl -l -v ``` - To shutdown Kali Linux WSL, run: ``` wsl --shutdown kali-linux ``` - To start Kali Linux, run: ``` wsl -d kali-linux ``` #KaliLinux #WSL #Windows11 #CyberSecurity #LinuxTutorial #TechTips #WindowsSubsystemForLinux #KaliLinuxSetup 👍 **Don't forget to Like, Comment, and Subscribe for more tech tutorials!** Web Site : www.linuxtechi.com YouTube Channel : https://www.youtube.com/@linuxtechi9979 ###################################### Thank you for Watching!! ######################################
Software Operating Systems Science