bspatch
generate/apply a patch between two binary files
Install
- All systems
-
curl cmd.cat/bspatch.sh
- Debian
-
apt-get install bsdiff
- Ubuntu
-
apt-get install bsdiff
- Arch Linux
-
pacman -S bsdiff
- 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
- Dockerfile
- dockerfile.run/bspatch
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).