• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

depmod: command not found

by admin

For modprobe to accurately install dependent modules, it reads the modules.dep file to identify how modules are linked to one another. The depmod command is used to update this database of dependencies so that modprobe can function properly.

The depmod command searches the contents of /lib/modules// for each module. A module may export a “symbol”, indicating that it can provide a service to other modules. Other modules may call these exported symbols in their own code to leverage their capabilities. So, depmod builds the modules.dep file by aggregating all instances of symbols being exported and used.

Syntax

The syntax of the depmod command is:

# depmod [options]

If you encounter the below error while running the depmod command:

depmod: command not found

you may try installing the below package as per your choice of distribution:

OS Distribution Command
Debian apt-get install kmod
Ubuntu apt-get install kmod
Alpine apk add kmod
Arch Linux pacman -S kmod
Kali Linux apt-get install kmod
CentOS yum install kmod
Fedora dnf install kmod
Raspbian apt-get install kmod

Filed Under: Linux

Some more articles you might also be interested in …

  1. f5fpc Command Examples
  2. How to use netstat command under Linux (Examples included)
  3. How to configure NTP to fall back to local system clock source in CentOS/RHEL
  4. Understanding the /etc/fstab file in Linux
  5. grub-mkconfig: command not found
  6. libreoffice Command Examples in Linux
  7. btrfs scrub Command Examples in Linux
  8. einfo: command not found
  9. How to enable md5 Hashing in Linux
  10. cpufreq-set : command not found

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright