Installing a CPACK

Once you have found a CPACK, it can be installed using the predicate cpack_install/1 as documetented below. By default, cpack_install/1 searches the central server. This can be changed by creating a CPACK profile.

 cpack_install(+Install) is semidet
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 ...
% Installing package EDM:
%    EDM -- View Europeana Data Model
% Initialized empty Git repository in /home/jan/tmp/test/cpack/EDM/.git/
%     Installing ...
% /home/jan/tmp/test/config-enabled/ compiled into conf_packs 0.00 sec, 1,480 bytes
% Added the following config files:
%     /home/jan/tmp/test/config-enabled/
%     /home/jan/tmp/test/config-enabled/
%   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/ compiled into conf_EDM 0.02 sec, 56,112 bytes
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
- is the central package repository.