How To Install perl-RPM-Specfile on Fedora 36

In this tutorial we learn how to install perl-RPM-Specfile in Fedora 36. perl-RPM-Specfile is Perl extension for creating RPM specfiles

Introduction

In this tutorial we learn how to install perl-RPM-Specfile on Fedora 36.

What is perl-RPM-Specfile

This is a simple module for creation of RPM Spec files. Most of the methods in this module are the same name as the RPM Spec file element they represent but in lower case.

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

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

sudo dnf -y install perl-RPM-Specfile

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

sudo yum -y install perl-RPM-Specfile

How To Uninstall perl-RPM-Specfile on Fedora 36

To uninstall only the perl-RPM-Specfile package we can use the following command:

sudo dnf remove perl-RPM-Specfile

perl-RPM-Specfile Package Contents on Fedora 36

/usr/bin/cpanflute2
/usr/share/doc/perl-RPM-Specfile
/usr/share/doc/perl-RPM-Specfile/Changes
/usr/share/doc/perl-RPM-Specfile/README
/usr/share/man/man3/RPM::Specfile.3pm.gz
/usr/share/perl5/vendor_perl/RPM
/usr/share/perl5/vendor_perl/RPM/Specfile.pm

References

Summary

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