Я установил allegro 4.4.3 с помощью команд:
sudo apt update
sudo apt install liballegro4.4 liballegro4-dev allegro4-doc
Можете ли вы сказать мне, как удалите его, пожалуйста, потому что мне нужна версия 4.2?
You can completely remove allergro by executing below commands in terminal.
sudo apt purge allegro4.4
Remove its dependencies.
sudo apt autoremove
Allergro 4.2 version is not available through repositories.
You can manually download source code, compile and install it.
Make sure that you have development libraries installed to compile.
sudo apt install build-essential
wget -c 'https://github.com/liballeg/allegro5/releases/download/v4-2-3-1/allegro-4.2.3.1.tar.gz'
tar xvf allegro-4.2.3.1.tar.gz
cd allegro-4.2.3.1/ && sudo ./configure
sudo make && sudo make install