How To Install perl-Devel-Cover on Rocky Linux 8

In this tutorial we learn how to install perl-Devel-Cover on Rocky Linux 8. perl-Devel-Cover is Code coverage metrics for Perl

Introduction

In this tutorial we learn how to install perl-Devel-Cover on Rocky Linux 8.

What is perl-Devel-Cover

This module provides code coverage metrics for Perl. Code coverage metrics describe how thoroughly tests exercise code. By using Devel discover areas of code not exercised by your tests and determine which tests to create to increase coverage. Code coverage can be considered as an indirect measure of quality.

We can use yum or dnf to install perl-Devel-Cover on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Devel-Cover.

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

sudo dnf -y install perl-Devel-Cover

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

sudo yum -y install perl-Devel-Cover

How To Uninstall perl-Devel-Cover on Rocky Linux 8

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

sudo dnf remove perl-Devel-Cover

perl-Devel-Cover Package Contents on Rocky Linux 8

/usr/bin/cover
/usr/bin/cpancover
/usr/bin/gcov2perl
/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/e264c1adb712eac4b5fe688f62dbeefff0c96f
/usr/lib64/perl5/vendor_perl/Devel
/usr/lib64/perl5/vendor_perl/Devel/Cover
/usr/lib64/perl5/vendor_perl/Devel/Cover.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Annotation
/usr/lib64/perl5/vendor_perl/Devel/Cover/Annotation/Git.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Annotation/Random.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Annotation/Svk.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Branch.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Collection.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Condition.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Condition_and_2.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Condition_and_3.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Condition_or_2.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Condition_or_3.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Condition_xor_4.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Criterion.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/DB
/usr/lib64/perl5/vendor_perl/Devel/Cover/DB.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/DB/Digests.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/DB/File.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/DB/IO
/usr/lib64/perl5/vendor_perl/Devel/Cover/DB/IO.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/DB/IO/Base.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/DB/IO/JSON.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/DB/IO/Sereal.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/DB/IO/Storable.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/DB/Structure.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Dumper.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Html_Common.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Inc.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Op.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Pod.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Report
/usr/lib64/perl5/vendor_perl/Devel/Cover/Report/Compilation.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Report/Html.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Report/Html_basic.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Report/Html_minimal.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Report/Html_subtle.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Report/Json.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Report/Sort.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Report/Text.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Report/Text2.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Report/Vim.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Statement.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Subroutine.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Test.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Time.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Truth_Table.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Tutorial.pod
/usr/lib64/perl5/vendor_perl/Devel/Cover/Util.pm
/usr/lib64/perl5/vendor_perl/Devel/Cover/Web.pm
/usr/lib64/perl5/vendor_perl/auto/Devel
/usr/lib64/perl5/vendor_perl/auto/Devel/Cover
/usr/lib64/perl5/vendor_perl/auto/Devel/Cover/Cover.so
/usr/share/doc/perl-Devel-Cover
/usr/share/doc/perl-Devel-Cover/BUGS
/usr/share/doc/perl-Devel-Cover/Changes
/usr/share/doc/perl-Devel-Cover/Contributors
/usr/share/doc/perl-Devel-Cover/README.md
/usr/share/doc/perl-Devel-Cover/TODO
/usr/share/licenses/perl-Devel-Cover
/usr/share/licenses/perl-Devel-Cover/LICENCE
/usr/share/man/man1/cover.1.gz
/usr/share/man/man1/cpancover.1.gz
/usr/share/man/man1/gcov2perl.1.gz
/usr/share/man/man3/Devel::Cover.3pm.gz
/usr/share/man/man3/Devel::Cover::Annotation::Git.3pm.gz
/usr/share/man/man3/Devel::Cover::Annotation::Random.3pm.gz
/usr/share/man/man3/Devel::Cover::Annotation::Svk.3pm.gz
/usr/share/man/man3/Devel::Cover::Branch.3pm.gz
/usr/share/man/man3/Devel::Cover::Collection.3pm.gz
/usr/share/man/man3/Devel::Cover::Condition.3pm.gz
/usr/share/man/man3/Devel::Cover::Condition_and_2.3pm.gz
/usr/share/man/man3/Devel::Cover::Condition_and_3.3pm.gz
/usr/share/man/man3/Devel::Cover::Condition_or_2.3pm.gz
/usr/share/man/man3/Devel::Cover::Condition_or_3.3pm.gz
/usr/share/man/man3/Devel::Cover::Condition_xor_4.3pm.gz
/usr/share/man/man3/Devel::Cover::Criterion.3pm.gz
/usr/share/man/man3/Devel::Cover::DB.3pm.gz
/usr/share/man/man3/Devel::Cover::DB::Digests.3pm.gz
/usr/share/man/man3/Devel::Cover::DB::File.3pm.gz
/usr/share/man/man3/Devel::Cover::DB::IO.3pm.gz
/usr/share/man/man3/Devel::Cover::DB::IO::Base.3pm.gz
/usr/share/man/man3/Devel::Cover::DB::IO::JSON.3pm.gz
/usr/share/man/man3/Devel::Cover::DB::IO::Sereal.3pm.gz
/usr/share/man/man3/Devel::Cover::DB::IO::Storable.3pm.gz
/usr/share/man/man3/Devel::Cover::DB::Structure.3pm.gz
/usr/share/man/man3/Devel::Cover::Dumper.3pm.gz
/usr/share/man/man3/Devel::Cover::Html_Common.3pm.gz
/usr/share/man/man3/Devel::Cover::Op.3pm.gz
/usr/share/man/man3/Devel::Cover::Pod.3pm.gz
/usr/share/man/man3/Devel::Cover::Report::Compilation.3pm.gz
/usr/share/man/man3/Devel::Cover::Report::Html.3pm.gz
/usr/share/man/man3/Devel::Cover::Report::Html_basic.3pm.gz
/usr/share/man/man3/Devel::Cover::Report::Html_minimal.3pm.gz
/usr/share/man/man3/Devel::Cover::Report::Html_subtle.3pm.gz
/usr/share/man/man3/Devel::Cover::Report::Json.3pm.gz
/usr/share/man/man3/Devel::Cover::Report::Sort.3pm.gz
/usr/share/man/man3/Devel::Cover::Report::Text.3pm.gz
/usr/share/man/man3/Devel::Cover::Report::Text2.3pm.gz
/usr/share/man/man3/Devel::Cover::Report::Vim.3pm.gz
/usr/share/man/man3/Devel::Cover::Statement.3pm.gz
/usr/share/man/man3/Devel::Cover::Subroutine.3pm.gz
/usr/share/man/man3/Devel::Cover::Test.3pm.gz
/usr/share/man/man3/Devel::Cover::Time.3pm.gz
/usr/share/man/man3/Devel::Cover::Truth_Table.3pm.gz
/usr/share/man/man3/Devel::Cover::Tutorial.3pm.gz
/usr/share/man/man3/Devel::Cover::Util.3pm.gz
/usr/share/man/man3/Devel::Cover::Web.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Devel-Cover on Rocky Linux 8 using yum and dnf.