Advertisement
TVT618

[Guide] Install Kali Linux on Windows 10

Feb 4th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. [Guide]
  2. How to install Kali Linux on Windows 10 (Windows Subsystem)
  3.  
  4. 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:
  5. 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:
  6. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  7.  
  8. 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: lxrun /install
  9.  
  10. 3. Setup and install the WSL Switcher, download a Kali base, and extract it to disk:
  11. git clone https://github.com/RoliSoft/WSL-Distribution-Switcher.git
  12. cd WSL-Distribution-Switcher
  13. python get-prebuilt.py kalilinux/kali-linux-docker
  14. python install.py rootfs_kalilinux_kali-linux-docker_latest.tar.gz
  15. lxrun /setdefaultuser root
  16.  
  17. 4. Now that Kali is set up on your Windows 10 machine, you can interact with it by running the “bash” command: bash
  18.  
  19. 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:
  20. export LANG=C
  21. cat /etc/issue
  22. echo nameserver 8.8.8.8 > /etc/resolv.conf
  23. apt-get update
  24. apt-get dist-upgrade
  25.  
  26. First, make sure you have installed the Python 3. x and the latest version of Git. Make sure the Python and Git are in the PATH. Let's see the full instructions in the video below: https://vimeo.com/250475157
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement