pkg.soopen package index

brew / rank 5336

Install gnu-prolog with Homebrew, apt, dnf, MacPorts, Nix

Prolog compiler with constraint solving. Version 1.5.0 via Homebrew; verified from local package data. Also installable with macports: sudo port install gprolog.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gnu-prolog

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gprolog

MacPorts ports tree · lang/gprolog/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install gprolog

Debian stable package indexes · gprolog · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install gprolog

Fedora Rawhide package metadata · gprolog · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gprolog

nixpkgs package indexes · pkgs/by-name/gp/gprolog/package.nix · source: api.github.com

overview

Package summary

Prolog compiler with constraint solving

Commands and aliases

  • fd2c
  • gplc
  • gprolog
  • hexgplc
  • ma2asm
  • pl2wam
  • wam2ma

history

Project history and usage

GNU Prolog is Daniel Diaz's free Prolog compiler with finite-domain constraint solving. Its defining trait is native-code compilation to small standalone executables, alongside an interactive top-level and debugger.

Project history

The official GNU Prolog site says development began in January 1996 under the name Calypso. The design drew from two earlier Diaz systems: wamcc, a Prolog-to-C compiler based on the Warren Abstract Machine, and clp(FD), a finite-domain constraint system built around a low-level primitive for defining higher-level constraints.

Adoption history

GNU Prolog occupies a practical niche among Prolog implementations: it emphasizes ISO Prolog compatibility, native executables, command-line compilation, C interoperability, and an integrated finite-domain solver. Those traits made it useful for logic-programming teaching, constraint examples, embeddable tools, and users who prefer a compiler-style workflow over a large image-based environment.

How it is used

Practitioners run gprolog for the interactive top-level and gplc to compile Prolog files, C files, WAM files, and related inputs into native programs. Constraint programmers use its FD predicates for arithmetic, Boolean, symbolic, and reified constraints, often paired with enumeration heuristics.

Why package nerds care

GNU Prolog matters in package ecosystems because it is both a language runtime and a compiler toolchain: packages install several helper binaries, architecture support matters, and releases document low-level ports across Unix, macOS, Windows, ARM, and RISC-V targets.

Timeline

  • 1996: Development started in January under the name Calypso.
  • 1999: Manual copyright years begin for GNU Prolog documentation.
  • 2010: Diaz, Abreu, and Codognet published an implementation paper describing GNU Prolog's native compiler and FD solver.
  • 2021: Version 1.5.0 notes record the move of the source repository to GitHub.

Related projects

  • GNU Prolog is related to wamcc, clp(FD), the Warren Abstract Machine tradition, ISO Prolog systems, SWI-Prolog, and constraint-logic programming tools.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
fd2cexecutableindexed executableDiscovered from the local executable index.
gplcexecutableindexed executableDiscovered from the local executable index.
gprologexecutableindexed executableDiscovered from the local executable index.
hexgplcexecutableindexed executableDiscovered from the local executable index.
ma2asmexecutableindexed executableDiscovered from the local executable index.
pl2wamexecutableindexed executableDiscovered from the local executable index.
wam2maexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version1.5.0
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gnu-prolog
Version1.5.0
Package managerHomebrew
Homepagehttp://www.gprolog.org/
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts94%

gprolog

sudo port install gprolog
  • installed executable or alias match
  • Matched by: Gprolog
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/gprolog/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

gprolog 1.4.5.0-3

GNU Prolog compiler

http://www.gprolog.org/

sudo apt install gprolog
  • Section: devel
  • Architecture: amd64
  • 1 dependencies
  • 1 optional deps
  • installed executable or alias match
  • Matched by: Gprolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gprolog from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

gprolog-doc 1.4.5.0-3

documentation for the GNU Prolog compiler

http://www.gprolog.org/

sudo apt install gprolog-doc
  • Section: doc
  • Architecture: all
  • Source Package: gprolog
  • 2 optional deps
  • installed executable or alias match
  • Matched by: Gprolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gprolog-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

gprolog

nix profile install nixpkgs#gprolog
  • installed executable or alias match
  • Matched by: Gprolog
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gp/gprolog/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

gprolog 1.4.5.0-3

GNU Prolog compiler

http://www.gprolog.org/

sudo apt install gprolog
  • Section: universe/devel
  • Architecture: amd64
  • 1 dependencies
  • 1 optional deps
  • installed executable or alias match
  • Matched by: Gprolog
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gprolog from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

gprolog-doc 1.4.5.0-3

documentation for the GNU Prolog compiler

http://www.gprolog.org/

sudo apt install gprolog-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: gprolog
  • 2 optional deps
  • installed executable or alias match
  • Matched by: Gprolog
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gprolog-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf92%

gprolog 1.5.0-18.fc45

GNU Prolog is a free Prolog compiler

http://www.gprolog.org

sudo dnf install gprolog
  • License: LGPL-3.0-or-later OR GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gprolog
  • 4 dependencies
  • 2 provides
  • installed executable or alias match
  • Matched by: Gprolog
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gprolog from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf92%

gprolog-docs 1.5.0-18.fc45

Documentation for GNU Prolog

http://www.gprolog.org

sudo dnf install gprolog-docs
  • License: LGPL-3.0-or-later OR GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gprolog
  • 1 dependencies
  • 1 provides
  • installed executable or alias match
  • Matched by: Gprolog
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gprolog-docs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation