From 9d70a35cd8073e35fa2998d340fde886436fe363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= Date: Tue, 12 Jun 2012 14:59:26 +0200 Subject: [PATCH] Installing bindings from binary packages --- en/chapters/installing.tex | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/en/chapters/installing.tex b/en/chapters/installing.tex index 624882e..f80e969 100644 --- a/en/chapters/installing.tex +++ b/en/chapters/installing.tex @@ -109,3 +109,33 @@ \section{Building the NaturalDocs documentation} This will produce HTML files in the \verb!doc/naturaldocs/output! directory. The \verb!c_api! directory will contain the generated documentation for the C API. The \verb!lenses! directory will be the documentation for the lenses provided with Augeas. You can open the \verb!index.html! file of one of these directories to access the full documentation. + +\section{Installing the bindings} + +Augeas bindings are not provided with the Augeas source, but as separate projects. + +\subsection{Installing bindings from binary packages} + +Major GNU/Linux distributions provide some of them as packages. + +On Red Hat or Fedora derivatives, you can use: + +\begin{console}[] +$ sudo yum install python-augeas # Python bindings +$ sudo yum install ruby-augeas # Ruby bindings +$ sudo yum install perl-Config-Augeas # Perl bindings +$ sudo yum install ghc-augeas # Haskell bindings +$ sudo yum install java-augeas # Java bindings +$ sudo yum install ocaml-augeas # OCaml bindings +\end{console} + +On Debian and Ubuntu derivatives: + +\begin{console}[] +$ sudo apt-get install python-augeas # Python bindings +$ sudo apt-get install libaugeas-ruby # Ruby bindings +$ sudo apt-get install libconfig-augeas-perl # Perl bindings +$ sudo apt-get install libghc-augeas-dev # Haskell bindings +\end{console} + +