How To Install peg on Fedora 36
In this tutorial we learn how to install peg in Fedora 36. peg is Procedural macros for rust-peg
Introduction
In this tutorial we learn how to install peg
on Fedora 36.
What is peg
Procedural macros for rust-peg. To use rust-peg, see the
peg
crate.
We can use yum
or dnf
to install peg
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install peg.
Install peg 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 peg
using dnf
by running the following command:
sudo dnf -y install peg
Install peg 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 peg
using yum
by running the following command:
sudo yum -y install peg
How To Uninstall peg on Fedora 36
To uninstall only the peg
package we can use the following command:
sudo dnf remove peg
peg Package Contents on Fedora 36
/usr/bin/rust-peg
/usr/lib/.build-id
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/a7a4a7781f2d83e4759fabe71ca70c5496d1f0
References
Summary
In this tutorial we learn how to install peg
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).