How to Install and Uninstall dkms Package on Debian 12 (Bookworm)

Last updated: May 19,2024

1. Install "dkms" package

Please follow the steps below to install dkms on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install dkms

2. Uninstall "dkms" package

This tutorial shows how to uninstall dkms on Debian 12 (Bookworm):

$ sudo apt remove dkms $ sudo apt autoclean && sudo apt autoremove

3. Information about the dkms package on Debian 12 (Bookworm)

Package: dkms
Version: 3.0.10-8+deb12u1
Installed-Size: 186
Maintainer: Dynamic Kernel Module System Team
Architecture: all
Provides: dkms-autopkgtest (= 3.0.10-8+deb12u1)
Depends: kmod | kldutils, gcc | c-compiler, dpkg-dev, make | build-essential, patch
Pre-Depends: lsb-release
Recommends: fakeroot, sudo, linux-headers-generic | linux-headers-686-pae | linux-headers-amd64 | linux-headers
Suggests: menu, e2fsprogs
Breaks: blcr-dkms (<< 0.8.6~b3-1.0), blktap-dkms (<< 2.0.93-0.10.0), oss4-dkms (<< 4.2-build2020-1~), sl-modem-dkms (<< 2.9.11~20110321-16.0)
Description: Dynamic Kernel Module System (DKMS)
Description-md5: 232c475017017fa9b762bad26978f5d1
Multi-Arch: foreign
Homepage: https://github.com/dell/dkms
Tag: admin::kernel, devel::buildtools, devel::lang:c, devel::library,
devel::packaging, implemented-in::c, implemented-in::shell,
interface::commandline, role::devel-lib, role::program, scope::utility,
suite::debian, works-with::software:source
Section: kernel
Priority: optional
Filename: pool/main/d/dkms/dkms_3.0.10-8+deb12u1_all.deb
Size: 48716
MD5sum: d7ba143de15d19bd6e723875c385371b
SHA256: 12da620048a926afa72f1f46f3477fb9ad3d2a6b3446da56cc43fe1a413b6944