How to install Nvidia drivers on Kali linux

  • First, update Kali Linux based server as follows:

sudo apt update
sudo apt -y full-upgrade

  • Reboot server as follows:


  • Find out which video card is installed in the Kali Linux server and verify using the nouveau open-source driver.

lspci | grep -i vga

  • You will get the following output:

00:02.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)

  • To get information about the drivers installed, use the lspci command, replacing 00:02.0 with your number from the previous output.

lspci -s 00:02.0 -v
Kernel driver in use: nouveau
Kernel modules: nouveau

  • Now install nVIDIA driver and CUDA toolkit with the following command:

sudo apt install nvidia-driver nvidia-cuda-toolkit

  • You can now verify that your system is using Nvidia drivers instead of nouveau.

lspci -s 00:02.0 -v
Kernel driver in use: nvidia
Kernel modules: nvidia

sudo apt install hashcat
hashcat -b | uniq

Leave a Reply

Your email address will not be published. Required fields are marked *