installing-anastasis.rst (1291B)
1 The following steps assume all dependencies are installed. 2 3 First, unpack the Anastasis tarball and change into 4 the resulting directory. 5 Then, use the following commands to build and install Anastasis: 6 7 .. code-block:: console 8 9 $ ./configure [--prefix=PFX] \ 10 [--with-gnunet=GNUNETPFX] \ 11 [--with-exchange=EXCHANGEPFX] 12 $ # Each dependency can be fetched from non standard locations via 13 $ # the '--with-<LIBNAME>' option. See './configure --help'. 14 $ make 15 # make install 16 17 If you did not specify a prefix, Anastasis will be installed to 18 ``/usr/local``, which requires you to run the last step as ``root``. 19 20 You have to specify ``--with-exchange=/usr/local`` and/or 21 ``--with-gnunet=/usr/local`` if you installed the exchange and/or 22 GNUnet to ``/usr/local`` in the previous steps. 23 24 Depending on the prefixes you specified for the installation and the 25 distribution you are using, you may have to edit ``/etc/ld.so.conf``, adding 26 lines for ``GNUNETPFX/lib/`` and ``EXCHANGEPFX/lib/`` and ``PFX/lib/`` 27 (replace the prefixes with the actual paths you used). Afterwards, you should 28 run ``ldconfig``. Without this step, it is possible that the linker may not 29 find the installed libraries and launching the Anastasis backend would 30 then fail.