libdpkg(7)
🦋 libdpkg(7) — Debian package manager C library 🦋
okay so this is the libdpkg(7) manual page, straight outta the dpkg suite, and it’s giving “powerful library, proceed with caution” energy 💅✨
✨ NAME ✨
libdpkg — Debian package manager C library 🎀
🌸 DESCRIPTION 🌸
The libdpkg C library hands you functions and infrastructure for the dpkg tool set, plus for external projects that need to integrate tightly with it. Like, bestie, it’s the plumbing behind the scenes 🫶
The library provides a pkgconf(1) entry named libdpkg. cute and discoverable, we love that for us 💖
⚠️ Warning, bestie: the API provided by this library is highly volatile, and it’s still in the process of being cleaned up. It is only supposed to be used internally by dpkg for now. Header files, functions, variables and types might get renamed, removed or change semantics. 😭💀
If you still have a need to use it — which you would be doing anyway, say by locally building dpkg to get the library — then define the C preprocessor macro LIBDPKG_VOLATILE_API in your build to acknowledge that fact. no cap, it’s literally the “I know what I’m doing” bracelet of this situation 🫡✨
Due to the currently API volatility, only a static library is provided. that’s the whole situation, periodt 💅
🦋 SEE ALSO 🦋
/usr/share/doc/dpkg/README.api📖<https://www.dpkg.org/doc/libdpkg/>🌈
kisses, this little icon is from version 1.23.11-dirty, dated 2026-09-09 💖🎀🫶
📦 where this page comes from
- arch rolling: dpkg 1.23.11-1 · GPL-2.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms