%general-entities; ]> Kmod-&kmod-version; Kmod <para>The Kmod package contains programs for loading, inserting and removing kernel modules for Linux. Kmod replaces the Module-Init-tools package.</para> </sect2> <sect2 role="installation"> <title>Installation of Kmod Prepare Kmod for compilation: ./configure --prefix=/usr \ --bindir=/bin --sysconfdir=/etc \ --with-rootlibdir=/lib --disable-manpages \ --with-zlib --with-xz The meaning of the configure option: --with-rootlibdir=/lib Install location for shared libraries. --with-zlib --with-xz This allows the Kmod package to handle zlib and XZ compressed kernel modules. Compile the package: make To test the results, issue: make check Install the package: make install make -C man install Create symbolic links for programs that expect Module-Init-Tools. ln -sv kmod /bin/lsmod ln -sv ../bin/kmod /sbin/depmod ln -sv ../bin/kmod /sbin/insmod ln -sv ../bin/kmod /sbin/modprobe ln -sv ../bin/kmod /sbin/modinfo ln -sv ../bin/kmod /sbin/rmmod Contents of Kmod Installed programs depmod, insmod, kmod, lsmod, modinfo, modprobe, and rmmod Short Descriptions depmod Creates a dependency file based on the symbols it finds in the existing set of modules; this dependency file is used by modprobe to automatically load the required modules depmod insmod Installs a loadable module in the running kernel insmod kmod Loads and unloads kernel modules kmod lsmod Lists currently loaded modules lsmod modinfo Examines an object file associated with a kernel module and displays any information that it can glean modinfo modprobe Uses a dependency file, created by depmod, to automatically load relevant modules modprobe rmmod Unloads modules from the running kernel rmmod