bsdiff

generate/apply a patch between two binary files

Install

All systems
curl cmd.cat/bsdiff.sh
Debian Debian
apt-get install bsdiff
Ubuntu
apt-get install bsdiff
Arch Arch Linux
pacman -S bsdiff
image/svg+xml Kali Linux
apt-get install bsdiff
Fedora
dnf install bsdiff
Windows (WSL2)
sudo apt-get update sudo apt-get install bsdiff
OS X
brew install bsdiff
Raspbian
apt-get install bsdiff

bsdiff

generate/apply a patch between two binary files

bsdiff and bspatch are tools for building and applying patches to binary files. By using suffix sorting (specifically, Larsson and Sadakane's qsufsort) and taking advantage of how executable files change, bsdiff routinely produces binary patches 50-80% smaller than those produced by Xdelta, and 15% smaller than those produced by .RTPatch (a commercial patch tool).