How To Install perl-version on Fedora 36

In this tutorial we learn how to install perl-version in Fedora 36. perl-version is Perl extension for Version Objects

Introduction

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

What is perl-version

Version objects were added to Perl in 5.10. This module implements version objects for older version of Perl and provides the version object API for all versions of Perl. All previous releases before 0.74 are deprecated and should not be used due to incompatible API changes. Version 0.77 introduces the new ‘parse’ and ‘declare’ methods to standardize usage. You are strongly urged to set 0.77 as a minimum in your code.

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

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

sudo dnf -y install perl-version

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

sudo yum -y install perl-version

How To Uninstall perl-version on Fedora 36

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

sudo dnf remove perl-version

perl-version Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/55a6334caa499c09cfd580b91016029a4768fa
/usr/lib64/perl5/vendor_perl/auto/version
/usr/lib64/perl5/vendor_perl/auto/version/vxs
/usr/lib64/perl5/vendor_perl/auto/version/vxs/vxs.so
/usr/lib64/perl5/vendor_perl/version
/usr/lib64/perl5/vendor_perl/version.pm
/usr/lib64/perl5/vendor_perl/version.pod
/usr/lib64/perl5/vendor_perl/version/Internals.pod
/usr/lib64/perl5/vendor_perl/version/regex.pm
/usr/lib64/perl5/vendor_perl/version/vpp.pm
/usr/lib64/perl5/vendor_perl/version/vxs.pm
/usr/share/doc/perl-version
/usr/share/doc/perl-version/CHANGES
/usr/share/doc/perl-version/README
/usr/share/man/man3/version.3pm.gz
/usr/share/man/man3/version::Internals.3pm.gz

References

Summary

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