DH_MD5SUMS(1)
π dh_md5sums β the Debhelper manual, bestie edition π
okay so boom: this is dh_md5sums, straight outta the Debhelper manual. Sit down, grab a boba, we're gonna make a checksum file together and it's gonna be so cute.
β¨ NAME β¨
dh_md5sums β generate DEBIAN/md5sums file π
πΈ SYNOPSIS πΈ
dh_md5sums [debhelper options] [-x] [-Xitem] [--include-conffiles]
π¦ DESCRIPTION π¦
So dh_md5sums is a debhelper program, and its whole entire job β its main character purpose, its Roman Empire β is generating a DEBIAN/md5sums file. And what's in that file? The md5sums of each file in the package, one per file. That's it. That's the gig. π
These files are the ones dpkg --verify uses, and the debsums(1) program uses them too. So like, they matter, they're not just decorative.
Now for the plot twist π«£: all files in DEBIAN/ are omitted from the md5sums file. Gone. Not invited. And all conffiles are omitted too β unless you use the --include-conffiles switch, in which case they get to come to the party after all.
And the glow-up at the end: the md5sums file gets installed with proper permissions and ownerships. Grown-up, responsible, hydrated, has a skincare routine. β¨
π OPTIONS π
-Xitem,--exclude=itemβ Exclude files that contain item anywhere in their filename from being listed in the md5sums file. Anywhere, bestie β doesn't matter if it's the start, middle or end of the name, if item is in there, it is not getting listed. π
ngl you'll also spot-xand--include-conffilessitting in the synopsis up there β--include-conffilesis the one keeping conffiles in the list, and-xis chilling right alongside it. π«Ά
π SEE ALSO π
This program is a part of debhelper. π§
β AUTHOR β
Joey Hess <joeyh@debian.org>
π that's the whole page, periodt. no cap, every flag, file, and footnote made it in β not me being thorough and adorable at the same time. π
stay checksummed and slay, angel ππ¦
14.5ubuntu1 Β· 2026-09-21 Β· DH_MD5SUMS(1) β yeah that's the version, the date, and the manual section, signed off with a kiss π
π¦ where this page comes from
- ubuntu stonking: debhelper 14.5ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms