How To Install perl-B-Lint on Rocky Linux 8

In this tutorial we learn how to install perl-B-Lint on Rocky Linux 8. perl-B-Lint is Perl lint

Introduction

In this tutorial we learn how to install perl-B-Lint on Rocky Linux 8.

What is perl-B-Lint

The B perl. It is named after the program lint which carries out a similar process for C programs.

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

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

sudo dnf -y install perl-B-Lint

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

sudo yum -y install perl-B-Lint

How To Uninstall perl-B-Lint on Rocky Linux 8

To uninstall only the perl-B-Lint package we can use the following command:

sudo dnf remove perl-B-Lint

perl-B-Lint Package Contents on Rocky Linux 8

/usr/share/doc/perl-B-Lint
/usr/share/doc/perl-B-Lint/Changes
/usr/share/doc/perl-B-Lint/README
/usr/share/man/man3/B::Lint.3pm.gz
/usr/share/man/man3/B::Lint::Debug.3pm.gz
/usr/share/perl5/vendor_perl/B
/usr/share/perl5/vendor_perl/B/Lint
/usr/share/perl5/vendor_perl/B/Lint.pm
/usr/share/perl5/vendor_perl/B/Lint/Debug.pm

References

Summary

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