How To Install gprolog on Fedora 34

gprolog is GNU Prolog is a free Prolog compiler GNU Prolog is a free Prolog compiler

Introduction

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

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. gprolog 1.4.5 7.fc34 x86_64 1.1 M gprolog-1.4.5-7.fc34.src.rpm fedora GNU Prolog is a free Prolog compiler http GPLv2+ 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install gprolog.

Install gprolog on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install gprolog

Install gprolog on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove gprolog

gprolog Package Contents on Fedora 34

/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/01
/usr/lib/.build-id/01/862a014fb0800dc37538fb2ef3ac5d9a043826
/usr/lib/.build-id/43
/usr/lib/.build-id/43/0e496479202698a6cf163b82ce729f1a2c5898
/usr/lib/.build-id/68
/usr/lib/.build-id/68/5aab6cc9af278496d064a3e05d7cd4f897cf78
/usr/lib/.build-id/84
/usr/lib/.build-id/84/35889378146a949cabcfbfc87fd273170a7127
/usr/lib/.build-id/93
/usr/lib/.build-id/93/ebacd461d8341229ae1dc6878705349395049b
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/c2ba19934f8de2d6c7e90d5b30081cf9e5315c
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/b206788f4cc3ddffd92b3c5068f362bd28065b
/usr/lib/gprolog-1.4.5
/usr/lib/gprolog-1.4.5/README
/usr/lib/gprolog-1.4.5/bin
/usr/lib/gprolog-1.4.5/bin/fd2c
/usr/lib/gprolog-1.4.5/bin/gplc
/usr/lib/gprolog-1.4.5/bin/gprolog
/usr/lib/gprolog-1.4.5/bin/hexgplc
/usr/lib/gprolog-1.4.5/bin/ma2asm
/usr/lib/gprolog-1.4.5/bin/pl2wam
/usr/lib/gprolog-1.4.5/bin/wam2ma
/usr/lib/gprolog-1.4.5/gprolog.ico
/usr/lib/gprolog-1.4.5/include
/usr/lib/gprolog-1.4.5/include/fd_to_c.h
/usr/lib/gprolog-1.4.5/include/gprolog.h
/usr/lib/gprolog-1.4.5/lib
/usr/lib/gprolog-1.4.5/lib/all_fd_bips.o
/usr/lib/gprolog-1.4.5/lib/all_pl_bips.o
/usr/lib/gprolog-1.4.5/lib/debugger.o
/usr/lib/gprolog-1.4.5/lib/libbips_fd.a
/usr/lib/gprolog-1.4.5/lib/libbips_pl.a
/usr/lib/gprolog-1.4.5/lib/libengine_fd.a
/usr/lib/gprolog-1.4.5/lib/libengine_pl.a
/usr/lib/gprolog-1.4.5/lib/liblinedit.a
/usr/lib/gprolog-1.4.5/lib/top_level.o
/usr/lib/gprolog-1.4.5/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
/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/04
/usr/lib/.build-id/04/93a5cb1093db89028481deb4829002e1b7c82a
/usr/lib/.build-id/12
/usr/lib/.build-id/12/88341cb1e28109d8732bdcd0d4aec32ee2351c
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/e36ff4ebe73406be2efe47c4441e40a2da7464
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/b88645b4f1cdb8aa31b4db51772773461ea3d8
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/ef9eb38d58bf02ed2164d3e579793038c0306e
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/5227286e4e03cbefcfc55df7a1274b3d6e3f47
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/8ff7ae47f241842ebf6b92551d97d6299db834
/usr/lib64/gprolog-1.4.5
/usr/lib64/gprolog-1.4.5/README
/usr/lib64/gprolog-1.4.5/bin
/usr/lib64/gprolog-1.4.5/bin/fd2c
/usr/lib64/gprolog-1.4.5/bin/gplc
/usr/lib64/gprolog-1.4.5/bin/gprolog
/usr/lib64/gprolog-1.4.5/bin/hexgplc
/usr/lib64/gprolog-1.4.5/bin/ma2asm
/usr/lib64/gprolog-1.4.5/bin/pl2wam
/usr/lib64/gprolog-1.4.5/bin/wam2ma
/usr/lib64/gprolog-1.4.5/gprolog.ico
/usr/lib64/gprolog-1.4.5/include
/usr/lib64/gprolog-1.4.5/include/fd_to_c.h
/usr/lib64/gprolog-1.4.5/include/gprolog.h
/usr/lib64/gprolog-1.4.5/lib
/usr/lib64/gprolog-1.4.5/lib/all_fd_bips.o
/usr/lib64/gprolog-1.4.5/lib/all_pl_bips.o
/usr/lib64/gprolog-1.4.5/lib/debugger.o
/usr/lib64/gprolog-1.4.5/lib/libbips_fd.a
/usr/lib64/gprolog-1.4.5/lib/libbips_pl.a
/usr/lib64/gprolog-1.4.5/lib/libengine_fd.a
/usr/lib64/gprolog-1.4.5/lib/libengine_pl.a
/usr/lib64/gprolog-1.4.5/lib/liblinedit.a
/usr/lib64/gprolog-1.4.5/lib/top_level.o
/usr/lib64/gprolog-1.4.5/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

In this tutorial we learn how to install gprolog on Fedora 34 using yum and dnf.