Add Kali Repositories

Add Kali Repositories: sudo pluma /etc/apt/sources.list

Add the following at the end of the file:

deb http://http.kali.org/kali kali-rolling main non-free contrib deb-src http://http.kali.org/kali kali-rolling main non-free contrib

When updating there should be an error.

sudo apt install gnupg

wget 'https://archive.kali.org/archive-key.asc'

sudo apt-key add archive-key.asc

sudo apt update (DO NOT UPGRADE YET)

Next the priority of packages from Kali repositories need to be established. Giving Kali packages (ex. Kernels) lower priority means that they will be installed manually and not clash with our Debian stuffs.

pluma /etc/apt/preferences.d/kali.pref

Within the file just created put:

Package: * Pin: release a=kali-rolling Pin-Priority: 50

The last thing we are missing is ensuring that we download all dependencies with each new tool we get.

sudo apt install aptitude sudo apt -y upgrade sudo aptitude -y upgrade

Now whenever you want to install a new tool:

sudo aptitude install <YourNewToy>

Enjoy installing whatever Kali Tools you prefer.

Last updated