Bspatch Installation On A Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS

Bspatch Installation On A Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS

bspatch

generate/apply a patch between two binary files

Maintainer: Jari Aalto



Section: utils

Install bspatch

  • Debian apt-get install bsdiff Click to copy
  • Ubuntu apt-get install bsdiff Click to copy
  • Arch Linux pacman -S bsdiff Click to copy
  • Kali Linux apt-get install bsdiff Click to copy
  • Fedora dnf install bsdiff Click to copy
  • Raspbian apt-get install bsdiff Click to copy
  • macOS brew install bsdiff Click to copy

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).

Installation of latest bspatch command is available for Debian, Ubuntu, Arch, Kali, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.