liballegro4.2-dev software package provides development files for the Allegro library, you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install liballegro4.2-dev
liballegro4.2-dev is installed in your system.
Make ensure the liballegro4.2-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep liballegro4.2-dev *
You will get with liballegro4.2-dev package name, version, architecture and description in a table
| Distro | Ubuntu 12 04 lts precise pangolin |
| Section | Library development |
| Package | liballegro4.2-dev |
| Version | 2:4.2.2-3 |
| Description | development files for the Allegro library |
| Sub Section | libdevel |