depmod
Quick Reference
Command Name:
depmod
Category:
system management
Platform:
Linux
Basic Usage:
Common Use Cases
- 1
Kernel module management
Build a list of module dependencies for the Linux kernel
- 2
System updates
Update module dependency information after kernel updates
- 3
Driver installation
Configure new hardware drivers to be properly recognized
- 4
Troubleshooting
Resolve module loading issues by rebuilding dependency information
Syntax
depmod [options] [version]
Options
Option | Description |
---|---|
-a, --all |
Probe all modules (default behavior) |
-A, --quick |
Only rebuild if needed |
-b, --basedir |
Use an alternate root directory |
-C, --config |
Use a custom configuration file |
-e, --errsyms |
Report unresolved symbols |
-E, --filesyms |
Use symbols from specified file |
-F, --filesyms |
Use symbols from System.map file |
-h, --help |
Display help information |
-n, --show-depends |
Show module dependencies |
-v, --verbose |
Be verbose about what is being done |
-V, --version |
Show version information |
Examples
How to Use These Examples
The examples below show common ways to use the depmod
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.