How To Install perl-common-sense on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-common-sense
on Rocky Linux 8.
What is perl-common-sense
This module implements some sane defaults for Perl programs, as defined by two typical (or not so typical - use your common sense) specimens of Perl coders It’s supposed to be mostly the same, with much lower memory usage, as use utf8; use strict qw(vars subs); use feature qw(say state switch); use feature qw(unicode_strings unicode_eval current_sub fc evalbytes); no feature qw(array_base); no warnings; use warnings qw(FATAL closed threads internal debugging pack portable prototype inplace io pipe unpack malloc deprecated glob digit printf layer reserved taint closure semicolon); no warnings qw(exec newline unopened);
We can use yum
or dnf
to install perl-common-sense
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-common-sense.
Install perl-common-sense on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-common-sense
using dnf
by running the following command:
sudo dnf -y install perl-common-sense
Install perl-common-sense on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-common-sense
using yum
by running the following command:
sudo yum -y install perl-common-sense
How To Uninstall perl-common-sense on Rocky Linux 8
To uninstall only the perl-common-sense
package we can use the following command:
sudo dnf remove perl-common-sense
perl-common-sense Package Contents on Rocky Linux 8
/usr/lib64/perl5/vendor_perl/common
/usr/lib64/perl5/vendor_perl/common/sense.pm
/usr/lib64/perl5/vendor_perl/common/sense.pod
/usr/share/doc/perl-common-sense
/usr/share/doc/perl-common-sense/Changes
/usr/share/doc/perl-common-sense/README
/usr/share/doc/perl-common-sense/t
/usr/share/doc/perl-common-sense/t/00_load.t
/usr/share/doc/perl-common-sense/t/01_arch.t
/usr/share/licenses/perl-common-sense
/usr/share/licenses/perl-common-sense/LICENSE
/usr/share/man/man3/common::sense.3pm.gz
References
Summary
In this tutorial we learn how to install perl-common-sense
on Rocky Linux 8 using yum and dnf.