Where Are the Kernel Modules Located in Linux?
Contents

Linux. Loadable kernel modules in Linux are loaded (and unloaded) by the modprobe command. They are located in /lib/modules or /usr/lib/modules and have had the extension . ko (“kernel object”) since version 2.6 (previous versions used the .o extension).

Where is kernel module installed?

5 Answers

  1. By default modprobe loads modules from kernel subdirectories located in the /lib/modules/$(uname -r) directory. …
  2. Each module can be also loaded by referring to its aliases, stored in the /lib/modules/$(uname -r)/modules.

Where are Linux modules located?

The easiest way to list modules is with the lsmod command.
…
Listing modules

  1. “Module” shows the name of each module.
  2. “Size” shows the module size (not how much memory it is using)
  3. “Used by” shows each module’s usage count and the referring modules.
Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest