How To Install perl-ExtUtils-H2PM on Fedora 36

In this tutorial we learn how to install perl-ExtUtils-H2PM in Fedora 36. perl-ExtUtils-H2PM is Automatically generate perl modules to wrap C header files

Introduction

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

What is perl-ExtUtils-H2PM

This module assists in generating wrappers around system functionality, such as socket() types or ioctl() calls, where the only interesting features required are the values of some constants or layouts of structures normally only known to the C header files. Rather than writing an entire XS module just to contain some constants and pack/unpack functions, this module allows the author to generate, at module build time, a pure perl module containing constant declarations and structure utility functions. The module then requires no XS module to be loaded at run time.

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

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

sudo dnf -y install perl-ExtUtils-H2PM

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

sudo yum -y install perl-ExtUtils-H2PM

How To Uninstall perl-ExtUtils-H2PM on Fedora 36

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

sudo dnf remove perl-ExtUtils-H2PM

perl-ExtUtils-H2PM Package Contents on Fedora 36

/usr/share/doc/perl-ExtUtils-H2PM
/usr/share/doc/perl-ExtUtils-H2PM/Changes
/usr/share/doc/perl-ExtUtils-H2PM/README
/usr/share/licenses/perl-ExtUtils-H2PM
/usr/share/licenses/perl-ExtUtils-H2PM/LICENSE
/usr/share/man/man3/ExtUtils::H2PM.3pm.gz
/usr/share/perl5/vendor_perl/ExtUtils
/usr/share/perl5/vendor_perl/ExtUtils/H2PM.pm

References

Summary

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