How To Install general-purpose-preprocessor on Fedora 36

In this tutorial we learn how to install general-purpose-preprocessor in Fedora 36. general-purpose-preprocessor is Customizable language-agnostic preprocessor

Introduction

In this tutorial we learn how to install general-purpose-preprocessor on Fedora 36.

What is general-purpose-preprocessor

GPP is a general-purpose preprocessor with customizable syntax, suitable for a wide range of preprocessing tasks. Its independence from any one programming language makes it much more versatile than the C preprocessor (cpp), while its syntax is lighter and more flexible than that of GNU m4. There are built-in macros for use with C/C++, LaTeX, HTML, XHTML, and Prolog files.

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

Install general-purpose-preprocessor 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 general-purpose-preprocessor using dnf by running the following command:

sudo dnf -y install general-purpose-preprocessor

Install general-purpose-preprocessor 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 general-purpose-preprocessor using yum by running the following command:

sudo yum -y install general-purpose-preprocessor

How To Uninstall general-purpose-preprocessor on Fedora 36

To uninstall only the general-purpose-preprocessor package we can use the following command:

sudo dnf remove general-purpose-preprocessor

general-purpose-preprocessor Package Contents on Fedora 36

/usr/bin/gpp
/usr/lib/.build-id
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/c30cd41a72656b3531e0657aaf47efb5a17b84
/usr/share/doc/general-purpose-preprocessor
/usr/share/doc/general-purpose-preprocessor/AUTHORS
/usr/share/doc/general-purpose-preprocessor/ChangeLog
/usr/share/doc/general-purpose-preprocessor/NEWS
/usr/share/doc/general-purpose-preprocessor/README
/usr/share/doc/general-purpose-preprocessor/THANKS
/usr/share/licenses/general-purpose-preprocessor
/usr/share/licenses/general-purpose-preprocessor/COPYING
/usr/share/licenses/general-purpose-preprocessor/THANKS
/usr/share/man/man1/gpp.1.gz

References

Summary

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