deb-md5sums(5) dpkg suite deb-md5sums(5)
deb-md5sums – package MD5 file digests
| Use Case | Command | Description |
|---|---|---|
| Verify package file integrity | md5sum -c DEBIAN/md5sums | Check MD5 digests against file list |
| Generate md5sums file for a package | find /usr -type f -exec md5sum {} \; > DEBIAN/md5sums | Create md5sums file from installed files |
| Inspect stored checksums | cat DEBIAN/md5sums | Display the MD5 digest list |
DEBIAN/md5sums
A package declares the MD5 digests for the package file contents by including an md5sums file in its control archive (i.e. DEBIAN/md5sums during package creation). This file is used for integrity verification and deduplication purposes, and not for any kind of security purpose.
This file contains a list of MD5 digests (as 32 case-insensitive hexadecimal characters) followed by two spaces (U+0020 SPACE) and the absolute pathname of a plain file, one per line.
Trailing slashes (U+002F /) in the pathname will be trimmed. Neither trailing whitespace nor empty or whitespace-only lines are accepted.
If the control file does not exist in the binary package, dpkg(1) will generate the matching information at unpack time (since dpkg 1.16.3).
53c0d4afe4bc4eccb5cb234d2e06ef4d usr/bin/dpkg
f8da2bc74cdcad8b81c48a4f0d7bb0a8 usr/bin/dpkg-deb
70b913132de56e95e75de504979309b4 usr/bin/dpkg-divert
[…]
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-09 12:03 @2600:1f28:365:80b0:60b0:dfa5:fbc9:9f8f
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)