js-of-ocaml software package provides OCaml bytecode to JavaScript compiler (compiler), you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install js-of-ocaml
js-of-ocaml is installed in your system.
Make ensure the js-of-ocaml package were installed using the commands given below,
$ sudo dpkg-query -l | grep js-of-ocaml *
You will get with js-of-ocaml package name, version, architecture and description in a table
| Distro | Ubuntu 12 04 lts precise pangolin |
| Section | Ocaml |
| Package | js-of-ocaml |
| Version | 1.0.9-1 |
| Description | OCaml bytecode to JavaScript compiler (compiler) |
| Sub Section | Ocaml |