I am using Ubuntu 12.10 and going to write Prolog program with clpqr. I write this in first line:

:- use_module(library(clpr)).

I got this message:

source_sink `library(clpr)' does not exist

So, how to install that library? I've found some bug report about this, but maybe there's another way to install it...


Finally I find the answer.

  1. Download one from http://www.swi-prolog.org/download/stable/src/

  2. Install the dependencies listed in http://www.swi-prolog.org/build/Debian.html

  3. Finish by reading the instruction in README.linux

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.