To install Allegro 4.4 in all currently supported versions of Ubuntu open the terminal and type:
sudo apt update
sudo apt install liballegro4.4 liballegro4-dev allegro4-doc
Packages for Allegro 4.4 will also be available in the default Ubuntu 20.10 repositories.
The version of Allegro that you downloaded from GitHub was last updated on October 19, 2013. In Ubuntu 19.10 run the following commands to install the latest stable version of Allegro instead:
sudo apt update
sudo apt install liballegro5-dev allegro5-doc codeblocks g++ xterm gdb
The packages that are highlighted in bold text are optional packages for running Allegro with C/C++ in Code::Blocks IDE.
The same commands will also install Allegro 5 portable library for cross-platform game and multimedia development in all currently supported versions of Ubuntu.
Expected results of cd /usr && locate --regex 'allegro.*\.so'
:
/usr/lib/x86_64-linux-gnu/allegro/4.4.2/alleg-alsadigi.so
/usr/lib/x86_64-linux-gnu/allegro/4.4.2/alleg-alsamidi.so
/usr/lib/x86_64-linux-gnu/allegro/4.4.2/alleg-dga2.so
cmake
- install cmake and read this. – Jos Jun 17 '20 at 09:04