libkmod
libkmod - Linux kernel module handling
Latest version: 34.2
Add to xmake.lua
add_requires("libkmod 34.2")Learn how to add and link packages with Xmake →
Information
- License
- LGPL-2.1
- Recipe updated
- 2026-03-28T04:07:38.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- android: armeabi, armeabi-v7a, arm64-v8a, riscv64, x86, x86_64, mips, mip64
Options
logging- Enable system logging. · Type: boolean · Default: true
openssl- Enable PKCS7 signatures support · Default: openssl3 · Values: false, openssl, openssl3
shared- Build shared library · Type: boolean · Default: true
xz- Enable Xz-compressed modules support. · Type: boolean · Default: true
zlib- Enable gzipped modules support. · Type: boolean · Default: true
zstd- Enable Zstandard-compressed modules support. · Type: boolean · Default: true
Versions
- v30
- v31
- v32
- v33
- v34
- v34.2
Dependencies
No dependencies declared.
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "libkmod 34.2"show info
xrepo info "libkmod"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("libkmod 34.2")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("libkmod")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "libkmod 34.2" shell