Dynamic Kernel Module Support

From Wikipedia, the free encyclopedia
Dynamic Kernel Module Support
Original author(s)Gary Lerhaupt
Initial release2003; 20 years ago (2003)
Stable release
3.0.7[1] / September 27, 2022; 11 months ago (2022-09-27)
Written inBash
Operating systemLinux

Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.[2]


An essential feature of DKMS is that it automatically recompiles all DKMS modules if a new kernel version is installed. This allows drivers and devices outside of the mainline kernel to continue working after a Linux kernel upgrade.[3]

Another benefit of DKMS is that it allows the installation of a new driver on an existing system, running an arbitrary kernel version, without any need for manual compilation or precompiled packages provided by the vendor.

DKMS was written by the Linux Engineering Team at Dell in 2003. It is included in many distributions, such as Ubuntu, Debian, Fedora, SUSE, Mageia and Arch. DKMS is free software released under the terms of the GNU General Public License (GPL) v2 or later.

DKMS supports both the rpm and deb package formats out of the box.

See also[edit]


  1. ^ "Fixes for ldtarball · dell/dkms". GitHub. 2022-09-27. Retrieved 2022-10-08.
  2. ^ Lerhaupt, Gary (September 1, 2003). "Kernel Korner - Exploring Dynamic Kernel Module Support (DKMS)". Linux Journal. Archived from the original on August 13, 2019.
  3. ^ https://www.kernel.org/doc/ols/2004/ols2004v1-pages-187-202.pdf

External links[edit]