|Ubuntu release||12.04, 14.04|
|SWI-Prolog release||6.6.x, 7.1.x|
|(Debian) Maintainer||Eugeniy Meshcheryakov|
Debian Squeeze and derived distributions come with a properly packaged but old (version 5.10.4) SWI-Prolog. We advice to compile the sources on older Debian derived distros or you need a fairly recent version.
There are PPAs for SWI-Prolog stable and SWI-Prolog development based on the official Debian packaging structure and corresponding SWI-Prolog release. This PPA version can be installed using the commands below in Ubuntu 12.04 and 13.04:
These PPAs are updated with every new release. Thanks to Yves Raimond for setting up the PPA snd Eugeniy Meshcheryakov for creating the Debian configuration.
% sudo apt-add-repository ppa:swi-prolog/stable % sudo apt-get update % sudo apt-get install swi-prolog
% sudo apt-add-repository ppa:swi-prolog/devel % sudo apt-get update % sudo apt-get install swi-prolog
Use the following commands to obtain all dependencies for a full build
from source. Note that there are no known version dependencies on any of
these packages. If your (debian-based) distribution is lacking any of
these package use
apt-cache search <name> to find an alternative,
where <name> is e.g.,
libunwind (i.e., remove version and details).
unixodbcfor ODBC connectivity.
libarchive-devis needed as of 6.1.4 for libarchive, which is needed by pack_install/1.
libossp-uuid-devis needed as of 6.3.4 for library(uuid), which is needed for ClioPatria's SPARQL engine.
sudo apt-get install \ build-essential autoconf curl chrpath \ ncurses-dev libreadline-dev libunwind8-dev \ libgmp-dev \ libxext-dev libice-dev libjpeg-dev libxinerama-dev libxft-dev \ libxpm-dev libxt-dev pkg-config \ libssl-dev \ unixodbc-dev \ openjdk-7-jdk junit \ zlib1g-dev libarchive-dev \ libossp-uuid-dev
Note that older Debian based distributions, including the Debian
stable (Squeeze (6.0)) ship with
libunwind7-dev instead of
The generated documentation is included the source archives and downloaded by the
prepare script when installing from the git source. To rebuild the documentation, the following packages are needed. Check
sudo apt-get install \ texlive-latex-extra \ texlive-fonts-extra \ texlive-fonts-extra-doc \ texlive-fonts-recommended \ texlive-fonts-recommended-doc