Noob question here.... I read about modprobe and dkms and it seems to me they do the same thing, so what is the difference?



Loads and runs a kernel module


Compiles and installs a kernel module from source for the specified kernel (current running kernel if none are specified.

To autoload modules at boot

Edit the file /etc/modules. add each module you want to load one per line.

Example file contents:

# /etc/modules: kernel modules to load at boot time.
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

  • Thanks! And when running modprobe it will save this state for next boot of course, right? – Omar Hossam Ahmed Nov 20 '17 at 9:22
  • 3
    added directions on how to autoload modules – ravery Nov 20 '17 at 9:31

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.