How To Install gprolog on Fedora 36

In this tutorial we learn how to install gprolog in Fedora 36. gprolog is GNU Prolog is a free Prolog compiler

Introduction

In this tutorial we learn how to install gprolog on Fedora 36.

What is gprolog

GNU Prolog is a native Prolog compiler with constraint solving over finite domains (FD) developed by Daniel Diaz (http GNU Prolog is a very efficient native compiler producing (small) stand-alone executables. GNU-Prolog also offers a classical top-level+debugger. GNU Prolog conforms to the ISO standard for Prolog but also includes a lot of extensions (global variables, DCG, sockets, OS interface,…). GNU Prolog also includes a powerful constraint solver over finite domains with many predefined constraints+heuristics.

We can use yum or dnf to install gprolog on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gprolog.

Install gprolog on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gprolog using dnf by running the following command:

sudo dnf -y install gprolog

Install gprolog on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gprolog using yum by running the following command:

sudo yum -y install gprolog

How To Uninstall gprolog on Fedora 36

To uninstall only the gprolog package we can use the following command:

sudo dnf remove gprolog

gprolog Package Contents on Fedora 36

---
title: "How To Install gprolog on Fedora 36"
linkTitle: "gprolog"
type: "docs"
description: "In this tutorial we learn how to install gprolog in Fedora 36. gprolog is GNU Prolog is a free Prolog compiler"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/gprolog-featured.png
---

## Introduction

In this tutorial we learn how to install `gprolog` on Fedora 36.

### What is `gprolog`

> GNU Prolog is a native Prolog compiler with constraint solving over finite domains (FD) developed by Daniel Diaz (http  GNU Prolog is a very efficient native compiler producing (small) stand-alone executables. GNU-Prolog also offers a classical top-level+debugger.  GNU Prolog conforms to the ISO standard for Prolog but also includes a lot of extensions (global variables, DCG, sockets, OS interface,...).  GNU Prolog also includes a powerful constraint solver over finite domains with many predefined constraints+heuristics.  

We can use `yum` or `dnf` to install `gprolog` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gprolog.

## Install gprolog on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install gprolog using dnf by running the following command:

sudo dnf -y install gprolog

Install gprolog on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gprolog using yum by running the following command:

sudo yum -y install gprolog

How To Uninstall gprolog on Fedora 36

To uninstall only the gprolog package we can use the following command:

sudo dnf remove gprolog

gprolog Package Contents on Fedora 36

/usr/bin/fd2c
/usr/bin/gplc
/usr/bin/gprolog
/usr/bin/hexgplc
/usr/bin/ma2asm
/usr/bin/pl2wam
/usr/bin/wam2ma
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/f6158fa19c24d55df1f32f30c2790f59ae09fd
/usr/lib/.build-id/61
/usr/lib/.build-id/61/cac73363ac4070b3ee273b0812a3b88befb22f
/usr/lib/.build-id/99
/usr/lib/.build-id/99/bc1a3ccaddf9ce01f1c7c073a8274a058996d7
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/71c900526aea8f7d467537794adc5065ba1055
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/82b21baa99c6ecb6f6c868dd778df22edaae69
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/3905d19ec92cced3a01be258b4268f66f3d35a
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/6f04f373d6907336c819703ff7922f46199e9b
/usr/lib64/gprolog-1.5.0
/usr/lib64/gprolog-1.5.0/bin
/usr/lib64/gprolog-1.5.0/bin/fd2c
/usr/lib64/gprolog-1.5.0/bin/gplc
/usr/lib64/gprolog-1.5.0/bin/gprolog
/usr/lib64/gprolog-1.5.0/bin/hexgplc
/usr/lib64/gprolog-1.5.0/bin/ma2asm
/usr/lib64/gprolog-1.5.0/bin/pl2wam
/usr/lib64/gprolog-1.5.0/bin/wam2ma
/usr/lib64/gprolog-1.5.0/gprolog.ico
/usr/lib64/gprolog-1.5.0/include
/usr/lib64/gprolog-1.5.0/include/fd_to_c.h
/usr/lib64/gprolog-1.5.0/include/gprolog.h
/usr/lib64/gprolog-1.5.0/lib
/usr/lib64/gprolog-1.5.0/lib/all_fd_bips.o
/usr/lib64/gprolog-1.5.0/lib/all_pl_bips.o
/usr/lib64/gprolog-1.5.0/lib/debugger.o
/usr/lib64/gprolog-1.5.0/lib/libbips_fd.a
/usr/lib64/gprolog-1.5.0/lib/libbips_pl.a
/usr/lib64/gprolog-1.5.0/lib/libengine_fd.a
/usr/lib64/gprolog-1.5.0/lib/libengine_pl.a
/usr/lib64/gprolog-1.5.0/lib/liblinedit.a
/usr/lib64/gprolog-1.5.0/lib/top_level.o
/usr/lib64/gprolog-1.5.0/lib/top_level_main.o
/usr/share/doc/gprolog
/usr/share/doc/gprolog/COPYING
/usr/share/doc/gprolog/ChangeLog
/usr/share/doc/gprolog/NEWS
/usr/share/doc/gprolog/PROBLEMS
/usr/share/doc/gprolog/README
/usr/share/doc/gprolog/VERSION

References

Summary

/usr/bin/fd2c /usr/bin/gplc /usr/bin/gprolog /usr/bin/hexgplc /usr/bin/ma2asm /usr/bin/pl2wam /usr/bin/wam2ma /usr/lib/.build-id /usr/lib/.build-id/2a /usr/lib/.build-id/2a/657a996df42d9e6cd4419c60b2e63a7b292036 /usr/lib/.build-id/36 /usr/lib/.build-id/36/06ed6e738c5aa3316f57f0c642e04523c3fb7b /usr/lib/.build-id/5b /usr/lib/.build-id/5b/dbda3ba3f0846bfbdb9b204f595493fb1e6381 /usr/lib/.build-id/5e /usr/lib/.build-id/5e/8f44e815b6e1d3cac7ce4032bf139a5d10ca72 /usr/lib/.build-id/79 /usr/lib/.build-id/79/f95db4521c94f636b59fba97ac1e6a8ac3accf /usr/lib/.build-id/7a /usr/lib/.build-id/7a/34bd73a6fecda641475719bc20757d41764036 /usr/lib/.build-id/e9 /usr/lib/.build-id/e9/2de402b69280696ac47b4824369d111e8a07b0 /usr/lib/gprolog-1.5.0 /usr/lib/gprolog-1.5.0/bin /usr/lib/gprolog-1.5.0/bin/fd2c /usr/lib/gprolog-1.5.0/bin/gplc /usr/lib/gprolog-1.5.0/bin/gprolog /usr/lib/gprolog-1.5.0/bin/hexgplc /usr/lib/gprolog-1.5.0/bin/ma2asm /usr/lib/gprolog-1.5.0/bin/pl2wam /usr/lib/gprolog-1.5.0/bin/wam2ma /usr/lib/gprolog-1.5.0/gprolog.ico /usr/lib/gprolog-1.5.0/include /usr/lib/gprolog-1.5.0/include/fd_to_c.h /usr/lib/gprolog-1.5.0/include/gprolog.h /usr/lib/gprolog-1.5.0/lib /usr/lib/gprolog-1.5.0/lib/all_fd_bips.o /usr/lib/gprolog-1.5.0/lib/all_pl_bips.o /usr/lib/gprolog-1.5.0/lib/debugger.o /usr/lib/gprolog-1.5.0/lib/libbips_fd.a /usr/lib/gprolog-1.5.0/lib/libbips_pl.a /usr/lib/gprolog-1.5.0/lib/libengine_fd.a /usr/lib/gprolog-1.5.0/lib/libengine_pl.a /usr/lib/gprolog-1.5.0/lib/liblinedit.a /usr/lib/gprolog-1.5.0/lib/top_level.o /usr/lib/gprolog-1.5.0/lib/top_level_main.o /usr/share/doc/gprolog /usr/share/doc/gprolog/COPYING /usr/share/doc/gprolog/ChangeLog /usr/share/doc/gprolog/NEWS /usr/share/doc/gprolog/PROBLEMS /usr/share/doc/gprolog/README /usr/share/doc/gprolog/VERSION

In this tutorial we learn how to install gprolog on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


## References

* [gprolog website](http://www.gprolog.org)

## Summary

In this tutorial we learn how to install `gprolog` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).