Installation guide

If you downloaded bless as a distribution specific package (eg .rpm, .deb, .tgz) follow your distribution's instructions on how to install packages.

If you downloaded Bless from the git repo, or as a source .tar.gz or .tar.bz2 package you will need to build it and install it manually. The building and installation procedure is described below:

Overview: git clone https://github.com/afrantzis/bless, meson setup build (-Dopt=val --buildtype=type ...), ninja -C build, (ninja -C build install)

Step 1: Get the source

To get the latest source:

git clone https://github.com/afrantzis/bless

For a compressed tarball use:

tar -xf bless-a.b.c.tar.gz

Step 2: Configure the build

Enter the directory created in the previous step (bless or bless-a.b.c). To configure the build and check that your system has all the required libraries use:

meson setup build (-Dopt=val --buildtype=type ...)

Use the --prefix=PREFIX option to set the installation directory prefix. By default the prefix is '/usr/local'.

You can use the --buildtype=release option to build bless in release mode. By default the debug mode is built.

Step 3: Build the program

Type ninja -C build. This will create bless.exe and the necessary libraries in the build/src directory. You can also use ninja -C build test to run some tests on various bless components. Note that running the tests requires the nunit-console binary.

Step 4: Install the program (optional)

Become root and type ninja -C build install.