Did you know ... Search Documentation:
SWI-Prolog on Redhat (Fedora, RHEL, CentOS)
Fedora release23, 24, 25, 28
RHEL5 and 6
CentOS5
SWI-Prolog release8.0.x and 8.1.x
Package pagehttp://koji.fedoraproject.org/koji/buildinfo?buildID=485155
MaintainerPetr Pisar

Status

This page was written for SWI-Prolog pre-dating the migration to the CMake configure and build infrastructure. The page has been updated, but the details have not been tested. Please report issues.

Dependencies

Use the following commands to obtain all dependencies for a full build from source.

dnf install \
  cmake \
  ninja-build \
  libunwind \
  freetype-devel \
  gmp-devel \
  java-1.8.0-openjdk-devel \
  jpackage-utils \
  libICE-devel \
  libjpeg-turbo-devel \
  libSM-devel \
  libX11-devel \
  libXaw-devel \
  libXext-devel \
  libXft-devel \
  libXinerama-devel \
  libXmu-devel \
  libXpm-devel \
  libXrender-devel \
  libXt-devel \
  ncurses-devel \
  openssl-devel \
  pkgconfig \
  readline-devel \
  libedit-devel \
  unixODBC-devel \
  zlib-devel \
  uuid-devel \
  libarchive-devel \
  libyaml-devel

The above is tested on Fedora 23, 24 and 25. On Fedora < 23 the following may be different:

  • dnf was once called yum,
  • uuid-devel was once called libossp-uuid-devel,
  • before java-1.8.0-openjdk-devel there was java-1.7.0-openjdk-devel,
  • libjpeg-turbo-devel was once called libjpeg-devel.

Building the RPM

You can build an RPM package from the sources, for example to deploy locally using the CMake CPack tool. See CMAKE.md in the top directory of the sources.

See also
- LinuxDistro.txt