How To Install perl-Test-DiagINC on Fedora 36

In this tutorial we learn how to install perl-Test-DiagINC in Fedora 36. perl-Test-DiagINC is List modules and versions loaded if tests fail

Introduction

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

What is perl-Test-DiagINC

Assuming you shipped your module to CPAN with working tests, test failures from CPAN Testers might be due to platform issues, Perl version issues or problems with dependencies. This module helps you diagnose deep dependency problems by showing you exactly what modules and versions were loaded during a test run.

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

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

sudo dnf -y install perl-Test-DiagINC

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

sudo yum -y install perl-Test-DiagINC

How To Uninstall perl-Test-DiagINC on Fedora 36

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

sudo dnf remove perl-Test-DiagINC

perl-Test-DiagINC Package Contents on Fedora 36

/usr/share/doc/perl-Test-DiagINC
/usr/share/doc/perl-Test-DiagINC/CONTRIBUTING.mkdn
/usr/share/doc/perl-Test-DiagINC/Changes
/usr/share/doc/perl-Test-DiagINC/README
/usr/share/doc/perl-Test-DiagINC/examples
/usr/share/doc/perl-Test-DiagINC/examples/dies.t
/usr/share/doc/perl-Test-DiagINC/examples/fails.t
/usr/share/doc/perl-Test-DiagINC/examples/fails_in_end.t
/usr/share/doc/perl-Test-DiagINC/examples/lib
/usr/share/doc/perl-Test-DiagINC/examples/lib/Foo.pm
/usr/share/doc/perl-Test-DiagINC/examples/lib/SyntaxErr.pm
/usr/share/licenses/perl-Test-DiagINC
/usr/share/licenses/perl-Test-DiagINC/LICENSE
/usr/share/man/man3/Test::DiagINC.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/DiagINC.pm

References

Summary

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