xzdiff

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

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 xzdiff on any operating system with command-not-found.com