• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

dkms Command Examples in Linux

by Deepika

The “dkms” command in Linux is used to manage Dynamic Kernel Module Support (DKMS) modules. DKMS is a system that allows for the automatic installation, rebuilding, and removal of kernel modules when a new kernel version is installed or removed. Essentially, the dkms command allows you to automatically rebuild kernel modules when a new kernel version is installed, ensuring that the modules are always up-to-date and compatible with the current kernel. This is particularly useful for proprietary or third-party modules that may not be included in the official Linux kernel. The dkms command is typically used by system administrators and developers to manage and maintain kernel modules on Linux systems.

dkms Command Examples

1. List currently installed modules:

# dkms status

2. Rebuild all modules for the currently running kernel:

# dkms autoinstall

3. Install version 1.2.1 of the acpi_call module for the currently running kernel:

# dkms install -m acpi_call -v 1.2.1

4. Remove version 1.2.1 of the acpi_call module from all kernels:

# dkms remove -m acpi_call -v 1.2.1 --all

Filed Under: Linux

Some more articles you might also be interested in …

  1. blkdiscard Command Examples in Linux
  2. betterlockscreen Command Examples in Linux
  3. mailstat Command Examples in Linux
  4. qm destroy Command Examples in Linux
  5. conan: open source, decentralized and cross-platform package manager to create and share all your native binaries
  6. colorpicker: A minimalist X11 colorpicker
  7. 6 Bash Shell Command Line Chaining Operators in Linux
  8. “docker save” Command Examples
  9. pacman Command Examples in Linux (Cheat Sheet)
  10. How to Change runlevels/targets using systemd in Ubuntu

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright