linux-archive-integrity

Installation
SKILL.md

Archive Integrity (tar + verify)

Distro support

tar, gzip, xz, sha256sum, and gpg are identical on both families. The only real differences are SELinux contexts (RHEL labels files; capture them with --xattrs --selinux) and that ACL/xattr support needs the acl/attr packages present. Body uses Debian/Ubuntu; the RHEL family (Fedora, RHEL, CentOS Stream, Rocky, Alma, Oracle) notes are in the matrix.

Concept Debian/Ubuntu RHEL family
Install tar/xz preinstalled; apt install xz-utils preinstalled; dnf install xz
ACL / xattr tooling apt install acl attr dnf install acl attr
--acls --xattrs --numeric-owner identical identical
--listed-incremental (level 0/1) identical identical
SELinux context capture n/a (not labelled) add --selinux (stored as an xattr) and/or restorecon -R on restore
GPG signing/encryption apt install gnupg dnf install gnupg2
Installs
4
GitHub Stars
7
First Seen
Sep 3, 2026