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 autoclean
This step ensures your system is fully updated and any unnecessary packages are removed.
sudo apt-get install wget gnupg dirmngr
These 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.deb
This 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.list
Adding 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 autoclean
This ensures that your system is up to date with the latest packages from the Kali repository.
sudo apt-get install kali-linux-core
Finally, this command installs the core packages of Kali Linux, converting your Debian system into a Kali Linux environment.