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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. Linux OS Service ‘iptables’
  2. Kernel Logs Warning Messages “kernel: Possible SYN flooding on port X. Sending cookies” is logged”
  3. Linux Interview Questions : Open Files / Open File Descriptors
  4. iSCSI connection command examples (Cheat Sheet)
  5. debuild: command not found
  6. tail command examples in UNIX/Linux
  7. How to setup passwordless SSH login in Linux
  8. “Logical volume vg/lv contains a filesystem in use” – while removing LVM filesystem
  9. engrampa Command Examples in Linux
  10. How to allow ssh with empty passwords in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright