libghc-weighted-regexp-dev software package provides Weighted Regular Expression Matcher, 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 libghc-weighted-regexp-dev
libghc-weighted-regexp-dev is installed in your system.
Make ensure the libghc-weighted-regexp-dev package were installed using the commands given below,
$ sudo dpkg-query -l | grep libghc-weighted-regexp-dev *
You will get with libghc-weighted-regexp-dev package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Haskell |
| Package | libghc-weighted-regexp-dev |
| Version | 0.3.1.2-2 |
| Description | Weighted Regular Expression Matcher |
| Sub Section | Haskell |