libgmp-dev software package provides Multiprecision arithmetic library developers tools, 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 libgmp-dev
libgmp-dev is installed in your system.
Make ensure the libgmp-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep libgmp-dev *
You will get with libgmp-dev package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Library development |
| Package | libgmp-dev |
| Version | 2:5.1.3+dfsg-1ubuntu1 |
| Description | Multiprecision arithmetic library developers tools |
| Sub Section | libdevel |