HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dkms — A framework that allows for dynamic building of kernel modules. More information: <https://manned.or

Submitted by: @import:tldr-pages··
0
Viewed 0 times
dynamiccommanddkmsframeworkcliallowsthatfor
linux

Problem

How to use the dkms command: A framework that allows for dynamic building of kernel modules. More information: <https://manned.org/dkms>.

Solution

dkms — A framework that allows for dynamic building of kernel modules. More information: <https://manned.org/dkms>.

List currently installed modules:
dkms status


Rebuild all modules for the currently running kernel:
sudo dkms autoinstall


Install version 1.2.1 of the acpi_call module for the currently running kernel:
sudo dkms install -m {{acpi_call}} -v {{1.2.1}}


Remove version 1.2.1 of the acpi_call module from all kernels:
sudo dkms remove -m {{acpi_call}} -v {{1.2.1}} --all

Code Snippets

List currently installed modules

dkms status

Rebuild all modules for the currently running kernel

sudo dkms autoinstall

Install version 1.2.1 of the acpi_call module for the currently running kernel

sudo dkms install -m {{acpi_call}} -v {{1.2.1}}

Remove version 1.2.1 of the acpi_call module from all kernels

sudo dkms remove -m {{acpi_call}} -v {{1.2.1}} --all

Context

tldr-pages: linux/dkms

Revisions (0)

No revisions yet.