This README describes the Annotea package:

The Makefile that comes with this package will do the installation
for you. Simply type
  make install
or read below for more options.

You can control where it installs by setting the PREFIX environment
variable. For instance, to install under /usr/local, type
  PREFIX=/usr/local make install
Your scripts will show be installed in /usr/local/bin. CGI scripts
will go into /usr/local/cgi-bin. The perl modules will go someplace
like /usr/local/share/perl/5.8.3, depending on your perl version.

If you want to install someplace that is not included in perl's
normal @INC path, You will need to set the PERL5LIB environment
variable so that perl will be able to find the first modules when
it's installing later ones. You can check your @INC path with
  perl -V
An example of installing in /usr/local/perlTest with perl 5.8.3:

  PERL5LIB=/usr/local/perlTest/share/perl/5.8.3 \
  PREFIX=/usr/local/perlTest make install

This comes with many tests which also work as demos. These will be
installed under PREFIX/.../doc. For instance, with PREFIX set to
/usr/local (or, on many systems, with PREFIX not set at all), the
demo files will be installed in /usr/local/doc/W3C-Rdf-Kit/test.
You should be able to run any demo (for instance, Disjunction1) with
  perl ./Disjunction1-alg.sh
If you have installed this package in a non-standard place, you will
need to set your PERL5PATH and probably your PATH environment variables:
  PERL5LIB=/usr/local/perlTest/share/perl/5.8.3 \
  PATH=$PATH:/usr/local/perlTest/bin \
  perl ./Disjunction1-alg.sh 

If you wish to automate installation, you may use the environment variable
  CONFIG_DATABASE=no
to disable prompting for database configuration information.

Have fun.

