libast-config command not found

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

Introduction

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

libast-config: command not found

or when using sudo you get the following error message

sudo: libast-config: command not found

Solutions to libast-config: command not found

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

In Ubuntu libast-config is provided by libast2-dev package.

libast2-dev is:

Headers, static libraries and documentation for developing software that uses libast2.

LibAST is the Library of Assorted Spiffy Things. It contains many spiffy things, and it is a library. Thus, the ever-so-creative name. LibAST has been previously known as libmej, the Eterm helper library which nobody really understood and certainly never used. The plan is to gradually remove some of the neat stuff from Eterm that could be made generic (things like the theme parsing engine, the command-line options parser, perhaps the event engine, …) and place it here in the hopes that others will find them useful.

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

sudo apt-get -y install libast2-dev

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

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

sudo apt -y install libast2-dev

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

sudo aptitude install libast2-dev

Summary

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