Install package by name or URL. The URL of a CPACK can be found
on the web-page of the package. If a name is given,
cpack_install/1 queries the configured servers for the package.
For example:
?- cpack_install('EDM').
% Trying CPACK server at http://cliopatria.swi-prolog.org/cpack/EDM ...
% Installing package EDM:
% EDM -- View Europeana Data Model
% Initialized empty Git repository in /home/jan/tmp/test/cpack/EDM/.git/
% Installing EDM.pl ...
% /home/jan/tmp/test/config-enabled/010-packs.pl compiled into conf_packs 0.00 sec, 1,480 bytes
% Added the following config files:
% /home/jan/tmp/test/config-enabled/010-packs.pl
% /home/jan/tmp/test/config-enabled/EDM.pl
% library(count) compiled into count 0.02 sec, 13,280 bytes
% skin(EDM) compiled into edm 0.02 sec, 52,984 bytes
% /home/jan/tmp/test/config-enabled/EDM.pl compiled into conf_EDM 0.02 sec, 56,112 bytes
true.
- Arguments:
-
Install | - is either a URL on the server that returns the
installation parameter (this is shown in the info box
of the package), or the name of a package or a list of
package names. |
- See also
- - http://cliopatria.swi-prolog.org is the central package
repository.