How To Install perl-Pod-Snippets on Fedora 36
Introduction
In this tutorial we learn how to install perl-Pod-Snippets
on Fedora 36.
What is perl-Pod-Snippets
This class is a very simple extension of Pod snippets from Perl code, and pretty-prints it so as to make it usable from other Perl code. As demonstrated above, Pod to test-driven-development nutcases who want to put every single line of Perl code under test, including code that is in the POD (typically a SYNOPSIS section). There are other uses, such as storing a piece of information that is both human- and machine-readable (e.g. an XML schema) simultaneously as documentation and code.
We can use yum
or dnf
to install perl-Pod-Snippets
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Pod-Snippets.
Install perl-Pod-Snippets 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-Pod-Snippets
using dnf
by running the following command:
sudo dnf -y install perl-Pod-Snippets
Install perl-Pod-Snippets 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-Pod-Snippets
using yum
by running the following command:
sudo yum -y install perl-Pod-Snippets
How To Uninstall perl-Pod-Snippets on Fedora 36
To uninstall only the perl-Pod-Snippets
package we can use the following command:
sudo dnf remove perl-Pod-Snippets
perl-Pod-Snippets Package Contents on Fedora 36
/usr/share/doc/perl-Pod-Snippets
/usr/share/doc/perl-Pod-Snippets/Changes
/usr/share/doc/perl-Pod-Snippets/README
/usr/share/doc/perl-Pod-Snippets/eg
/usr/share/doc/perl-Pod-Snippets/eg/ClassWithTestsAtTheEnd.pm
/usr/share/man/man3/Pod::Snippets.3pm.gz
/usr/share/perl5/vendor_perl/Pod
/usr/share/perl5/vendor_perl/Pod/Snippets.pm
References
Summary
In this tutorial we learn how to install perl-Pod-Snippets
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).