Install swi-prolog-nox by entering the following commands in the terminal:
sudo apt update sudo apt install swi-prolog-nox
Description:
ISO/Edinburgh-style Prolog interpreter (without X support)
SWI-Prolog is a fast and powerful ISO/Edinburgh-style Prolog compiler with a rich set of built-in predicates. It offers a fast, robust and small environment which enables substantial applications to be developed with it. . SWI-Prolog additionally offers: . * A powerful module system * Garbage collection * Unicode character set handling * Unbounted integer and rational number arithmetic * Multithreading support * A powerful C/C++ interface * GNU Readline interface . This package contains a working SWI-Prolog installation with GUI components.
Homepage: http://www.swi-prolog.org
Version: 7.6.4+dfsg-1build1
Section: universe/interpreters