allegro-config command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
allegro-config: command not found
or when using sudo you get the following error message
sudo: allegro-config: command not found
Solutions to allegro-config: command not found
How To Fix allegro-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu allegro-config is provided by liballegro4-dev package.
liballegro4-dev is:
This package contains the development headers for the Allegro library.
Allegro is a cross-platform library mainly aimed at video game and multimedia programming. It handles common, low-level tasks such as creating windows, accepting user input, loading data, drawing images, playing sounds, etc. and generally abstracting away the underlying platform.
To fix this problem, we can install more using the command below.
sudo apt-get -y install liballegro4-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install liballegro4-dev.
sudo apt -y install liballegro4-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install liballegro4-dev
Summary
In this tutorial we learn how to fix allegro-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.