How To Install perl-diagnostics on Fedora 36
Introduction
In this tutorial we learn how to install perl-diagnostics
on Fedora 36.
What is perl-diagnostics
The diagnostics module extends the terse diagnostics normally emitted by both the perl compiler and the perl interpreter (from running perl with a -w switch or “use warnings”), augmenting them with the more explicative and endearing descriptions found in perldiag. splain tool explains perl messages found on standard input.
We can use yum
or dnf
to install perl-diagnostics
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-diagnostics.
Install perl-diagnostics 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-diagnostics
using dnf
by running the following command:
sudo dnf -y install perl-diagnostics
Install perl-diagnostics 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-diagnostics
using yum
by running the following command:
sudo yum -y install perl-diagnostics
How To Uninstall perl-diagnostics on Fedora 36
To uninstall only the perl-diagnostics
package we can use the following command:
sudo dnf remove perl-diagnostics
perl-diagnostics Package Contents on Fedora 36
/usr/bin/splain
/usr/share/man/man1/perldiag.1.gz
/usr/share/man/man1/splain.1.gz
/usr/share/man/man3/diagnostics.3pm.gz
/usr/share/perl5/diagnostics.pm
/usr/share/perl5/pod
/usr/share/perl5/pod/perldiag.pod
References
Summary
In this tutorial we learn how to install perl-diagnostics
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).