How To Install perl-Devel-Pragma on Fedora 36

In this tutorial we learn how to install perl-Devel-Pragma in Fedora 36. perl-Devel-Pragma is Helper functions for developers of lexical pragmas

Introduction

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

What is perl-Devel-Pragma

This module provides helper functions for developers of lexical pragmas. These can be used both in older versions of perl (from 5.8.1), which have limited support for lexical pragmas, and in the most recent versions, which have improved support.

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

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

sudo dnf -y install perl-Devel-Pragma

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

sudo yum -y install perl-Devel-Pragma

How To Uninstall perl-Devel-Pragma on Fedora 36

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

sudo dnf remove perl-Devel-Pragma

perl-Devel-Pragma Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/132de4ba144d987769fc0f4f38022db8d0df4f
/usr/lib64/perl5/vendor_perl/Devel
/usr/lib64/perl5/vendor_perl/Devel/Pragma.pm
/usr/lib64/perl5/vendor_perl/auto/Devel
/usr/lib64/perl5/vendor_perl/auto/Devel/Pragma
/usr/lib64/perl5/vendor_perl/auto/Devel/Pragma/Pragma.so
/usr/share/doc/perl-Devel-Pragma
/usr/share/doc/perl-Devel-Pragma/Changes
/usr/share/doc/perl-Devel-Pragma/README
/usr/share/man/man3/Devel::Pragma.3pm.gz

References

Summary

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