macOS
brew install gnu-prologlocal Homebrew formula metadata
sudo port install gprologMacPorts ports tree · lang/gprolog/Portfile · source: api.github.com
brew / rank 5336
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
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 | executable | indexed executable | Discovered from the local executable index. |
gplc | executable | indexed executable | Discovered from the local executable index. |
gprolog | executable | indexed executable | Discovered from the local executable index. |
hexgplc | executable | indexed executable | Discovered from the local executable index. |
ma2asm | executable | indexed executable | Discovered from the local executable index. |
pl2wam | executable | indexed executable | Discovered from the local executable index. |
wam2ma | executable | indexed executable | Discovered from the local executable index. |
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 |
| Homepage | http://www.gprolog.org/ |
| Bottle | not recorded |
| Service | none declared |
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-18.fc45
GNU Prolog is a free Prolog compiler
sudo dnf install gprologgprolog-docs 1.5.0-18.fc45
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.