macOS
brew install gnu-prologlocal Homebrew formula metadata
sudo port install gprologMacPorts ports tree · lang/gprolog/Portfile · source: api.github.com
brew
Prolog compiler with constraint solving. Version 1.5.0 via Homebrew; verified from local package data.
install
brew install gnu-prologlocal Homebrew formula metadata
sudo port install gprologMacPorts ports tree · lang/gprolog/Portfile · source: api.github.com
sudo apt install gprologDebian stable package indexes · gprolog · source: deb.debian.org
sudo dnf install gprologFedora Rawhide package metadata · gprolog · source: dl.fedoraproject.org
nix profile install nixpkgs#gprolognixpkgs package indexes · pkgs/by-name/gp/gprolog/package.nix · source: api.github.com
overview
Prolog compiler with constraint solving
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
fd2c | cli | global executable | |
gplc | cli | global executable | |
gprolog | cli | global executable | |
hexgplc | cli | global executable | |
ma2asm | cli | global executable | |
pl2wam | cli | global executable | |
wam2ma | cli | global executable |
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.
install metadata
| Package key | brew:gnu-prolog |
|---|---|
| Version | 1.5.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gnu-prolog |
| Homepage | http://www.gprolog.org/ |
| Repository | https://github.com/didoudiaz/gprolog |
| Upstream docs | https://www.gprolog.org/manual/gprolog.html |
| License | LGPL-3.0-or-later OR GPL-2.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/gprolog/gprolog-1.5.0.tar.gz |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gnu-prolog |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gprolog
sudo port install gprologgprolog 1.4.5.0-3
GNU Prolog compiler
sudo apt install gprologgprolog-doc 1.4.5.0-3
documentation for the GNU Prolog compiler
sudo apt install gprolog-docgprolog
nix profile install nixpkgs#gprologgprolog 1.4.5.0-3
GNU Prolog compiler
sudo apt install gprologgprolog-doc 1.4.5.0-3
documentation for the GNU Prolog compiler
sudo apt install gprolog-docgprolog 1.5.0-15.fc43
GNU Prolog is a free Prolog compiler
sudo dnf install gprologgprolog-docs 1.5.0-15.fc43
Documentation for GNU Prolog
sudo dnf install gprolog-docssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.