Features
- Command-line interface
- Text and HTML ouput
- Supported file formats: Android APK files, Android boot images, Berkeley DB database files, ColorSync colour profiles (.icc), Coreboot CBFS filesystem images, Dalvik .dex files, Debian .buildinfo files, Debian .changes files, Debian source packages (.dsc), Device Tree Compiler blob files, ELF binaries, FreeDesktop Fontconfig cache files, FreePascal files (.ppu), GHC Haskell .hi files, GIF image files, GNU R Rscript files (.rds), GNU R database files (.rdb), Gettext message catalogues, Git repositories, Gnumeric spreadsheets, Gzipped files, ISO 9660 CD images, JPEG images, JSON files, Java .class files, JavaScript files, LLVM IR bitcode files, MacOS binaries, Microsoft Windows icon files, Microsoft Word .docx files, Mono 'Portable Executable' files, Ogg Vorbis audio files, OpenOffice .odt files, OpenSSH public keys, OpenWRT package archives (.ipk), PDF documents, PGP signed/encrypted messages, PNG images, PostScript documents, RPM archives, Rust object files (.deflate), SQLite databases, SquashFS filesystems, TrueType font files, XML binary schemas (.xsb), XML files, XZ compressed files, ar(1) archives, bzip2 archives, character/block devices, cpio archives, directories, ext2/ext3/ext4/btrfs filesystems, statically-linked binaries, symlinks, tape archives (.tar), tcpdump capture files (.pcap) and text files.
- Fallback on hexdump comparison
- Fuzzy-matching to handle renamings
- … and many more!
Get diffoscope
- Try it online!
-
Via
pip:
pip install diffoscope
Note: You might still want to install Python modules from tlsh and rpm and other external tools to get more meaningful results. Usediffoscope --list-toolsto get the full list. -
On Debian and derivatives:
apt install diffoscope -
On Fedora based systems:
dnf install diffoscope -
On Arch Linux:
pacman -S diffoscope -
On Homebrew:
brew install diffoscope - Source tarballs
-
Through Git:
git clone https://salsa.debian.org/reproducible-builds/diffoscope.git
Contribute
diffoscope is developed within the “Reproducible builds” effort.
- Git repository
- Bugs and feature requests
- Users and developers mailing-list
#reproducible-buildsand/or#debian-reproducibleon OFTC
Extending diffoscope to support new formats is quite straightforward in most cases. It also has a comprehensive test suite. Patches welcome!
License
diffoscope is free software licensed under the GNU General Public License version 3 or later.
Contributors
Lunar, Reiner Herrmann, Chris Lamb, Helmut Grohne, Holger Levsen, Mattia Rizzolo, Daniel Kahn Gillmor, Paul Gevers, Peter De Wachter, Yasushi SHOJI, Clemens Lang, Ed Maste, Joachim Breitner, Mike McQuaid. Baptiste Daroussin, Levente Polyak, Ximin Luo, Maria Glukhova, Daniel Shahaf, Juliana Oliveira Rodrigues.
Similar software
- pkgdiff
pkg-diff.shfrom Open Build Service build-compare