bdebstrap command not found

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

Introduction

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

bdebstrap: command not found

or when using sudo you get the following error message

sudo: bdebstrap: command not found

Solutions to bdebstrap: command not found

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

In Ubuntu bdebstrap is provided by bdebstrap package.

bdebstrap is:

bdebstrap is an alternative to debootstrap and a wrapper around mmdebstrap to support YAML based configuration files. It inherits all benefits from mmdebstrap. The support for configuration allows storing all customization in a YAML file instead of having to use a very long one-liner call to mmdebstrap. It also layering multiple customizations on top of each other, e.g. to support flavors of an image.

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

sudo apt-get -y install bdebstrap

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

You can also use apt command to install bdebstrap.

sudo apt -y install bdebstrap

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

sudo aptitude install bdebstrap

Summary

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