How To Install Camlp4r In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Camlp4r In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

camlp4r

Pre Processor Pretty Printer for OCaml

Maintainer: Debian OCaml Maintainers



Section: ocaml

Install camlp4r

  • Debian apt-get install camlp4 Click to copy
  • Ubuntu apt-get install camlp4 Click to copy
  • Alpine OS apk add camlp4 Click to copy
  • Arch Linux pacman -S camlp4 Click to copy
  • Kali Linux apt-get install camlp4 Click to copy
  • CentOS yum install ocaml-camlp4-devel Click to copy
  • Fedora dnf install ocaml-camlp4-devel Click to copy
  • Raspbian apt-get install camlp4 Click to copy
  • macOS brew install camlp4 Click to copy

camlp4

Pre Processor Pretty Printer for OCaml

Objective Caml (OCaml) is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. CamlP4 is a Pre-Processor-Pretty-Printer for Objective Caml. It offers tools for syntax (Stream Parsers and Grammars) and the ability to modify the concrete syntax of the language (Quotations, Syntax Extensions). This package contains the basic CamlP4 executables and libraries for pre-processing and pretty-printing OCaml sources both interactively and in a batch fashion.

ocaml-camlp4-devel

Pre-Processor-Pretty-Printer for OCaml
Installing camlp4r command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of camlp4r 2024 package in your OS.