|Did you know ...||Search Documentation:|
|SWI-Prolog on Redhat (Fedora, RHEL, CentOS)|
|Fedora release||23, 24, 25, 28|
|RHEL||5 and 6|
|SWI-Prolog release||8.0.x and 8.1.x|
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.
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:
dnfwas once called
uuid-develwas once called
libjpeg-turbo-develwas once called
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.