How Do I Install a Linux Module?

How Do I Install a Linux Module?
Contents

How do I install a new Linux module?

Loading a Module

  1. To load a kernel module, run modprobe module_name as root . …
  2. By default, modprobe attempts to load the module from /lib/modules/kernel_version/kernel/drivers/ . …
  3. Some modules have dependencies, which are other kernel modules that must be loaded before the module in question can be loaded.

How do I install a system module?

Installing Multiple Versions of a Module

  1. Create a directory for each version of the module. Include the version number in the directory name.
  2. Create a module manifest for each version of the module. …
  3. Add the module root folder path to the value of the PSModulePath environment variable, as shown in the following examples.
Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.