bsdiff command not found

In this troubleshooting guide we learn how to fix bsdiff command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

bsdiff: command not found

or when using sudo you get the following error message

sudo: bsdiff: command not found

Solutions to bsdiff: command not found

How To Fix bsdiff: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bsdiff 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 bsdiff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.