Skip to content
zoryn/ maintainer-assistant

Installation

zoryn is an OCaml command-line tool. It's available in Sisyphus as the zoryn package — for most users apt-get install zoryn is enough.

From the Sisyphus repository

apt-get install zoryn

Bash completion is installed to /usr/share/bash-completion/completions/zoryn automatically.

From source

Install build dependencies, then build and install with dune:

apt-get install dune ocaml-cmdliner-devel ocaml-re-devel \
    ocaml-curl-devel libcurl-devel ocaml-yojson-devel \
    ocaml-opam-file-format-devel ocaml-parsexp-devel \
    ocaml-alt-releases-matrix-devel ocaml-alcotest-devel \
    ocaml-toml-devel ocaml-linenoise-devel ocaml-ppxlib-devel \
    ocaml-lambda-term-devel libev-devel ocaml-uucp-devel
dune build
dune install

Into $HOME instead of system-wide

dune install --prefix=$HOME

Binaries land in $HOME/bin, bash completion in $HOME/share/bash-completion/completions/.

Binaries only, without completion or libraries

dune install --prefix=$HOME --sections=bin

Bash completion

After installation, enable bash completion by adding one of these to ~/.bashrc:

# System-wide installation
source /usr/share/bash-completion/completions/zoryn

# Or user installation (--prefix=$HOME)
source ~/share/bash-completion/completions/zoryn

Next steps

  • Quick start — the four-command happy path
  • Configuration~/.zoryn, builder configs, .gear/version-up
  • Sandbox — isolate hook scripts from ~/.ssh and ~/.gnupg