How To Install perl-RPM-VersionCompare on Fedora 36

In this tutorial we learn how to install perl-RPM-VersionCompare in Fedora 36. perl-RPM-VersionCompare is Compare RPM version strings

Introduction

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

What is perl-RPM-VersionCompare

This module provides functions to compare RPM version strings. No function is exported by default. If possible, calls are passed to native librpm library. Otherwise Python extension provided with RPM sources is re- -implemented.

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

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

sudo dnf -y install perl-RPM-VersionCompare

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

sudo yum -y install perl-RPM-VersionCompare

How To Uninstall perl-RPM-VersionCompare on Fedora 36

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

sudo dnf remove perl-RPM-VersionCompare

perl-RPM-VersionCompare Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/83
/usr/lib/.build-id/83/9081598c59788d3dbf36142446e54ebc24aef5
/usr/lib64/perl5/vendor_perl/RPM
/usr/lib64/perl5/vendor_perl/RPM/VersionCompare.pm
/usr/lib64/perl5/vendor_perl/auto/RPM
/usr/lib64/perl5/vendor_perl/auto/RPM/VersionCompare
/usr/lib64/perl5/vendor_perl/auto/RPM/VersionCompare/VersionCompare.so
/usr/lib64/perl5/vendor_perl/auto/RPM/VersionCompare/autosplit.ix
/usr/share/doc/perl-RPM-VersionCompare
/usr/share/doc/perl-RPM-VersionCompare/Changes
/usr/share/licenses/perl-RPM-VersionCompare
/usr/share/licenses/perl-RPM-VersionCompare/COPYING
/usr/share/man/man3/RPM::VersionCompare.3pm.gz

References

Summary

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