How To Install perl-ph on Fedora 36

In this tutorial we learn how to install perl-ph in Fedora 36. perl-ph is Selected system header files converted to Perl headers

Introduction

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

What is perl-ph

Contemporary Perl still refers to some Perl header (ph) files although it does not build them anymore. This is a prebuilt collection of the referred files. If you miss other ones, you can generate them with h2ph tool from perl-utils package.

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

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

sudo dnf -y install perl-ph

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

sudo yum -y install perl-ph

How To Uninstall perl-ph on Fedora 36

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

sudo dnf remove perl-ph

perl-ph Package Contents on Fedora 36

/usr/lib64/perl5/_h2ph_pre.ph
/usr/lib64/perl5/asm
/usr/lib64/perl5/asm-generic
/usr/lib64/perl5/asm-generic/ioctl.ph
/usr/lib64/perl5/asm-generic/ioctls.ph
/usr/lib64/perl5/asm/ioctl.ph
/usr/lib64/perl5/asm/ioctls.ph
/usr/lib64/perl5/asm/unistd.ph
/usr/lib64/perl5/asm/unistd_32.ph
/usr/lib64/perl5/asm/unistd_64.ph
/usr/lib64/perl5/asm/unistd_x32.ph
/usr/lib64/perl5/bits
/usr/lib64/perl5/bits/ioctl-types.ph
/usr/lib64/perl5/bits/ioctls.ph
/usr/lib64/perl5/bits/long-double.ph
/usr/lib64/perl5/bits/syscall.ph
/usr/lib64/perl5/bits/timesize.ph
/usr/lib64/perl5/bits/wordsize.ph
/usr/lib64/perl5/features-time64.ph
/usr/lib64/perl5/features.ph
/usr/lib64/perl5/gnu
/usr/lib64/perl5/gnu/stubs-64.ph
/usr/lib64/perl5/gnu/stubs.ph
/usr/lib64/perl5/linux
/usr/lib64/perl5/linux/ioctl.ph
/usr/lib64/perl5/stdc-predef.ph
/usr/lib64/perl5/sys
/usr/lib64/perl5/sys/cdefs.ph
/usr/lib64/perl5/sys/ioctl.ph
/usr/lib64/perl5/sys/syscall.ph
/usr/lib64/perl5/sys/ttydefaults.ph
/usr/lib64/perl5/syscall.ph

References

Summary

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