caca-config command not found

In this troubleshooting guide we learn how to fix caca-config command not found error message

Introduction

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

caca-config: command not found

or when using sudo you get the following error message

sudo: caca-config: command not found

Solutions to caca-config: command not found

How To Fix caca-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu caca-config is provided by libcaca-dev package.

libcaca-dev is:

libcaca is the Colour AsCii Art library. It provides high level functions for colour text drawing, simple primitives for line, polygon and ellipse drawing, as well as powerful image to text conversion routines.

This package contains the header files and static libraries needed to compile applications or shared objects that use libcaca.

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

sudo apt-get -y install libcaca-dev

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

You can also use apt command to install libcaca-dev.

sudo apt -y install libcaca-dev

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

sudo aptitude install libcaca-dev

Summary

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