How to Install and Uninstall nvidia-kernel-dkms Package on Kali Linux

Last updated: May 13,2024

1. Install "nvidia-kernel-dkms" package

Please follow the instructions below to install nvidia-kernel-dkms on Kali Linux

$ sudo apt update $ sudo apt install nvidia-kernel-dkms

2. Uninstall "nvidia-kernel-dkms" package

This tutorial shows how to uninstall nvidia-kernel-dkms on Kali Linux:

$ sudo apt remove nvidia-kernel-dkms $ sudo apt autoclean && sudo apt autoremove

3. Information about the nvidia-kernel-dkms package on Kali Linux

Package: nvidia-kernel-dkms
Source: nvidia-graphics-drivers
Version: 525.147.05-6
Installed-Size: 70913
Maintainer: Debian NVIDIA Maintainers
Architecture: amd64
Provides: nvidia-kernel-525.147.05, nvidia-kernel-dkms-any (= 525.147.05)
Depends: firmware-nvidia-gsp (= 525.147.05) | firmware-nvidia-gsp-525.147.05, nvidia-kernel-support--v1, dkms (>= 3.0.11)
Pre-Depends: nvidia-installer-cleanup
Recommends: nvidia-driver (>= 525.147.05) | libcuda1 (>= 525.147.05)
Size: 44252736
SHA256: 0fdbabe9979bb2d14985ccf442657ba98c24e5cd53921136ee2bce0ec720eb30
SHA1: ed2f2367387a1aeac5d75d7d9a594f9b8f1a2530
MD5sum: dfbc8f376fb76908d0f0d6d0bb3fec3c
Description: NVIDIA binary kernel module DKMS source
This package builds the NVIDIA binary kernel modules needed by
nvidia-driver, using DKMS.
Provided that you have the kernel header packages installed, the kernel
module will be built for your running kernel and automatically rebuilt for
any new kernel headers that are installed.
.
The NVIDIA binary driver provides optimized hardware acceleration of
OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server
for graphics cards using NVIDIA chip sets.
.
This version only supports GeForce, NVS, Quadro, RTX, Tesla, ... GPUs based on
the Maxwell, Pascal, Volta, Turing, Ampere or newer architectures.
Look at the legacy driver or Tesla driver packages for older cards.
.
See /usr/share/doc/nvidia-kernel-dkms/README.txt.gz
for a complete list of supported GPUs and PCI IDs.
.
Building the kernel modules has been tested up to Linux 6.7.
.
Note: The new 'non-free-firmware' archive area has to be enabled in apt's
sources.list(.d/) in order to install firmware-nvidia-gsp.
Description-md5:
Multi-Arch: foreign
Homepage: https://www.nvidia.com
Section: non-free/kernel
Priority: optional
Filename: pool/non-free/n/nvidia-graphics-drivers/nvidia-kernel-dkms_525.147.05-6_amd64.deb