bspatch command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bspatch: command not found
or when using sudo you get the following error message
sudo: bspatch: command not found
Solutions to bspatch: command not found
How To Fix bspatch: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bspatch is provided by bsdiff package.
bsdiff is:
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).
To fix this problem, we can install more using the command below.
sudo apt-get -y install bsdiff
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install bsdiff.
sudo apt -y install bsdiff
Or if you have aptitude installed you can use the following command.
sudo aptitude install bsdiff
Summary
In this tutorial we learn how to fix bspatch command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.