ocaml-native-compilers software package provides Native code compilers of the OCaml suite (the .opt ones), 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 ocaml-native-compilers
ocaml-native-compilers is installed in your system.
Make ensure the ocaml-native-compilers package were installed using the commands given below,
$ sudo dpkg-query -l | grep ocaml-native-compilers *
You will get with ocaml-native-compilers package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Development |
| Package | ocaml-native-compilers |
| Version | 4.01.0-3ubuntu3 |
| Description | Native code compilers of the OCaml suite (the .opt ones) |
| Sub Section | devel |