libgeography-countries-perl software package provides 2-letter, 3-letter, and numerical codes for countries., 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 libgeography-countries-perl
libgeography-countries-perl is installed in your system.
Make ensure the libgeography-countries-perl package were installed using the commands given below,
$ sudo dpkg-query -l | grep libgeography-countries-perl *
You will get with libgeography-countries-perl package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Perl |
| Package | libgeography-countries-perl |
| Version | 2009041301-2 |
| Description | 2-letter, 3-letter, and numerical codes for countries. |
| Sub Section | Perl |