sbuild-qemu command not found

In this troubleshooting guide we learn how to fix sbuild-qemu command not found error message

Introduction

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

sbuild-qemu: command not found

or when using sudo you get the following error message

sudo: sbuild-qemu: command not found

Solutions to sbuild-qemu: command not found

How To Fix sbuild-qemu: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sbuild-qemu is provided by sbuild-qemu package.

sbuild-qemu is:

These utilities facilitate the use of sbuild together with QEMU images using sbuild’s –chroot-mode=autopkgtest. Currently, amd64 and i386 guest architectures are supported, with more in the works.

The following utilities are provided:

  • sbuild-qemu-create Create an image suitable for building packages
  • sbuild-qemu-update Run apt-get update within the image
  • sbuild-qemu Use sbuild with the image to build a package

To fix this problem, we can install more using the command below.

sudo apt-get -y install sbuild-qemu

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install sbuild-qemu.

sudo apt -y install sbuild-qemu

Or if you have aptitude installed you can use the following command.

sudo aptitude install sbuild-qemu

Summary

In this tutorial we learn how to fix sbuild-qemu command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.