I would like to check all binaries on my server against
dpkg -e <path_to_deb_package> <destination>
(for example rkhunter could do this check against the originals when doing probupdate)
How could I check all packages with one script?
Install the package debsums. Run debsums -a to check all packages.
debsums -a