cdebootstrap command not found

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

Introduction

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

cdebootstrap: command not found

or when using sudo you get the following error message

sudo: cdebootstrap: command not found

Solutions to cdebootstrap: command not found

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

In Ubuntu cdebootstrap is provided by cdebootstrap package.

cdebootstrap is:

cdebootstrap generates systems from scratch for Debian and derivates.

This is implementation is different from debootstrap. It features a different package selection. The package selection is done according to the flavour.

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

sudo apt-get -y install cdebootstrap

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

You can also use apt command to install cdebootstrap.

sudo apt -y install cdebootstrap

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

sudo aptitude install cdebootstrap

Summary

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