To convert a Debian system to Kali Linux, follow the steps below:
sudo apt-get update -y && sudo apt-get full-upgrade -y && sudo apt-get dist-upgrade -y
sudo apt autoremove -y && sudo apt autocleanThis step ensures your system is fully updated and any unnecessary packages are removed.
sudo apt-get install wget gnupg dirmngrThese packages are necessary for handling keys and downloading files securely.
wget https://http.kali.org/pool/main/k/kali-archive-keyring/kali-archive-keyring_2024.1_all.deb
sudo dpkg -i kali-archive-keyring_2024.1_all.debThis keyring is required to authenticate packages from the Kali Linux repository.
echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" | sudo tee -a /etc/apt/sources.listAdding the Kali repository allows your system to install Kali-specific packages.
sudo apt-get update -y && sudo apt-get full-upgrade -y && sudo apt-get dist-upgrade -y
sudo apt autoremove -y && sudo apt autocleanThis ensures that your system is up to date with the latest packages from the Kali repository.
sudo apt-get install kali-linux-coreFinally, this command installs the core packages of Kali Linux, converting your Debian system into a Kali Linux environment.