Quick install with Opam

The easiest way to install is to use OPAM. Install Opam, then, as a regular user, fetch and install an OCaml version and install Chamo. The whole can be done with the following opam commands:

$ opam init --bare
$ opam update
$ opam switch create 5.0.0
$ opam install chamo
Dependencies

To build Chamo, you will need:

From the sources

Get the sources from git repository:

$ git clone https://framagit.org/zoggy/chamo.git

Or pick one of the releases:

  • 4.0 [March 22, 2023]
    • use OCaml-Stk instead of Lablgtk,
    • use dune as build system.
  • 3.0 [April 1, 2022]
    • upgrade to ocaml 4.12.0, lablgtk3, lablgtk3-extras 3.0,
    • use ocf (with json syntax) instead of config_file for configuration files,
    • do not depend on camlp4 any more,
    • fix: better handling of with keyword in ocaml indentation lexer,
    • fix: handling of escaped characters in string, in the ocaml lexer used for indendation,
    • use Lwt,
    • new pop_last_hidden_view and popup_pick_hidden_view commands,
    • various fixes.
  • 2.03 [October 21, 2014]
    • move to safe strings (OCaml >= 4.02.0 required),
    • replace calls to deprecated functions,
    • fix warning when searching text,
    • fix #6 (chamo.byte could not use chamo modules),
    • fix png files (thanks to Jérôme Maloberti),
    • fix completion in open_file command.
  • 2.02 [February 13, 2013]
    • Split (un)install targets to (un)install-lib and (un)install-bin, for Opam.
    • Revert indentation lexer to previous state (better indentation of function calls). Still not perfect, though.
Compilation

Just type

$ make install

This will install chamo.byte, chamo and the chamo package.