How To Install perl-Net-CUPS on Rocky Linux 8

In this tutorial we learn how to install perl-Net-CUPS on Rocky Linux 8. perl-Net-CUPS is Perl bindings to the CUPS C API Interface

Introduction

In this tutorial we learn how to install perl-Net-CUPS on Rocky Linux 8.

What is perl-Net-CUPS

Net an urge to control CUPS servers via Perl, this is a good way to do it

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

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

sudo dnf -y install perl-Net-CUPS

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

sudo yum -y install perl-Net-CUPS

How To Uninstall perl-Net-CUPS on Rocky Linux 8

To uninstall only the perl-Net-CUPS package we can use the following command:

sudo dnf remove perl-Net-CUPS

perl-Net-CUPS Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/e96f2f83ff2138409c4a3d42c94d20ea80de7e
/usr/lib64/perl5/vendor_perl/Net
/usr/lib64/perl5/vendor_perl/Net/CUPS
/usr/lib64/perl5/vendor_perl/Net/CUPS.pm
/usr/lib64/perl5/vendor_perl/Net/CUPS/Destination.pm
/usr/lib64/perl5/vendor_perl/Net/CUPS/IPP.pm
/usr/lib64/perl5/vendor_perl/Net/CUPS/PPD.pm
/usr/lib64/perl5/vendor_perl/auto/Net
/usr/lib64/perl5/vendor_perl/auto/Net/CUPS
/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/CUPS.so
/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/Destination
/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/Destination/autosplit.ix
/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/IPP
/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/IPP/autosplit.ix
/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/PPD
/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/PPD/autosplit.ix
/usr/lib64/perl5/vendor_perl/auto/Net/CUPS/autosplit.ix
/usr/share/doc/perl-Net-CUPS
/usr/share/doc/perl-Net-CUPS/Changes
/usr/share/doc/perl-Net-CUPS/README
/usr/share/doc/perl-Net-CUPS/TODO
/usr/share/doc/perl-Net-CUPS/examples
/usr/share/doc/perl-Net-CUPS/examples/list_dests.pl
/usr/share/doc/perl-Net-CUPS/examples/print_file.pl
/usr/share/man/man3/Net::CUPS.3pm.gz
/usr/share/man/man3/Net::CUPS::Destination.3pm.gz
/usr/share/man/man3/Net::CUPS::IPP.3pm.gz
/usr/share/man/man3/Net::CUPS::PPD.3pm.gz

References

Summary

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