Dynamic Kernel Module Support
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]
Original author(s) | Gary Lerhaupt |
---|---|
Developer(s) | Dell |
Initial release | 2003 |
Stable release | 3.0.7[1]
/ September 27, 2022 |
Repository | |
Written in | Bash |
Operating system | Linux |
License | GPLv2 |
Website | github |
Framework
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
References
- "Fixes for ldtarball ยท dell/dkms". GitHub. 2022-09-27. Retrieved 2022-10-08.
- Lerhaupt, Gary (September 1, 2003). "Kernel Korner - Exploring Dynamic Kernel Module Support (DKMS)". Linux Journal. Archived from the original on August 13, 2019.
- https://www.kernel.org/doc/ols/2004/ols2004v1-pages-187-202.pdf