sbuild-update command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sbuild-update: command not found
or when using sudo you get the following error message
sudo: sbuild-update: command not found
Solutions to sbuild-update: command not found
How To Fix sbuild-update: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sbuild-update is provided by sbuild package.
sbuild is:
The sbuild suite of programs (buildd and sbuild) are used to build binary packages from source packages. sbuild does the actual package building.
sbuild uses chroots to build packages, which act as virtual, minimal operating system installations dedicated to package building. This means that a number of environments may be used for building simultaneously on the same machines, for example stable, testing, unstable and experimental. When coupled with schroot to create snapshots of chroots, sbuild may be used to build many packages in parallel. A chroot environment allows packages to be built in a controlled, clean environment. sbuild installs only essential and build-essential packages, plus those in the package build dependencies.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sbuild
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sbuild.
sudo apt -y install sbuild
Or if you have aptitude installed you can use the following command.
sudo aptitude install sbuild
Summary
In this tutorial we learn how to fix sbuild-update command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.