How To Install peg0 on Fedora 36

In this tutorial we learn how to install peg0 in Fedora 36. peg0 is Simple Parsing Expression Grammar (PEG) parser generator

Introduction

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

What is peg0

Simple Parsing Expression Grammar (PEG) parser generator.

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

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

sudo dnf -y install peg0

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

sudo yum -y install peg0

How To Uninstall peg0 on Fedora 36

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

sudo dnf remove peg0

peg0 Package Contents on Fedora 36

/usr/bin/rust-peg-0.5
/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/e4c7066159f337e4f48a0a8a2e0666a1c90660
/usr/share/doc/peg0.5
/usr/share/doc/peg0.5/README.md
/usr/share/licenses/peg0.5
/usr/share/licenses/peg0.5/LICENSE

References

Summary

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