libg2-dev software package provides g2 2D graphics library (development files), you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libg2-dev
libg2-dev is installed in your system.
Make ensure the libg2-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep libg2-dev *
You will get with libg2-dev package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Library development |
| Package | libg2-dev |
| Version | 0.72-5 |
| Description | g2 2D graphics library (development files) |
| Sub Section | libdevel |