From 3c8100b020fa505825f96cd27f6456a873aa6d64 Mon Sep 17 00:00:00 2001 From: Wouter Beek Date: Sun, 11 Jun 2017 19:55:02 +0200 Subject: [PATCH] DOC: Improved installation documentaton. Added instructions for installation on Fedora. Added instructions for installation of a recent version of Serd. --- README.md | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 810b60e..de660aa 100644 --- a/README.md +++ b/README.md @@ -21,13 +21,31 @@ Unix-like machines. Installation on Windows requires more creativity. $ git clone https://github.com/JanWielemaker/hdt ``` - b. Install the prerequisite libraries. On Ubuntu: + b. Install a recent version of Serd: + ```bash + curl -s http://download.drobilla.net/serd-0.26.0.tar.bz2 | tar -xj && \ + cd serd-0.26.0 && \ + ./waf configure && \ + ./waf && \ + sudo ./waf install; ``` - sudo apt-get install libserd-dev libraptor-dev - ``` - c. Start SWI-Prolog and run + c. Install Raptor: + + * On Fedora: + + ```bash + sudo dnf install raptor2-devel + ``` + + * On Ubuntu: + + ```bash + sudo apt-get install libraptor-dev + ``` + + d. Start SWI-Prolog and run ```prolog ?- pack_rebuild(hdt).