Install SWI-Prolog version on Raspberry Pi

Note: This will NOT install

  • latest version
  • 64-bit version
  1. Open the command line terminal (Ctrl+Alt+T)
  2. At command prompt enter
    sudo apt-get install swi-prolog
  3. Enter y when prompted.
  4. Start SWI-Prolog with
    swipl

As of 04/29/2024 the version installed using these steps is

SWI-Prolog (threaded, 32 bits, version 8.0.2)

which is NOT the latest version.

To install the latest version you will need to download and build from source code, the instructions for building on Linux may be correct or close but have not been tested on a Raspberry Pi.