xzcmp

Invokes cmp on files compressed with xz, lzma, gzip, bzip2, lzop, or zstd. All options specified are passed directly to cmp. More information: <https://manned.org/xzcmp>.

Debian Debian
RUN apt-get update && \ apt-get install -y xz-utils
Ubuntu
RUN apt-get update && \ apt-get install -y xz-utils
Alpine
RUN apk add xz
Arch Arch Linux
RUN pacman -S --noconfirm xz
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y xz-utils
CentOS
RUN yum install -y xz
Fedora
RUN dnf install -y xz
Raspbian
RUN apt-get update && \ apt-get install -y xz-utils
click the source code to copy install xzcmp on any operating system with command-not-found.com