cdebootstrap-static command not found

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

Introduction

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

cdebootstrap-static: command not found

or when using sudo you get the following error message

sudo: cdebootstrap-static: command not found

Solutions to cdebootstrap-static: command not found

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

In Ubuntu cdebootstrap-static is provided by cdebootstrap-static package.

cdebootstrap-static is:

cdebootstrap generates systems from scratch for Debian and derivates.

This package contains a static binary and a standalone tar. The standalone tar can be used on non-Debian systems.

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

sudo apt-get -y install cdebootstrap-static

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

You can also use apt command to install cdebootstrap-static.

sudo apt -y install cdebootstrap-static

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

sudo aptitude install cdebootstrap-static

Summary

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