How To Install perl-DBD-CSV on Rocky Linux 8

In this tutorial we learn how to install perl-DBD-CSV on Rocky Linux 8. perl-DBD-CSV is DBI driver for CSV files

Introduction

In this tutorial we learn how to install perl-DBD-CSV on Rocky Linux 8.

What is perl-DBD-CSV

The DBD independent interface for Perl). This one is based on the SQL “engine” SQL and implements access to so-called CSV files (Comma separated values). Such files are mostly used for exporting MS Access and MS Excel data.

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

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

sudo dnf -y install perl-DBD-CSV

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

sudo yum -y install perl-DBD-CSV

How To Uninstall perl-DBD-CSV on Rocky Linux 8

To uninstall only the perl-DBD-CSV package we can use the following command:

sudo dnf remove perl-DBD-CSV

perl-DBD-CSV Package Contents on Rocky Linux 8

/usr/share/doc/perl-DBD-CSV
/usr/share/doc/perl-DBD-CSV/CONTRIBUTING.md
/usr/share/doc/perl-DBD-CSV/ChangeLog
/usr/share/doc/perl-DBD-CSV/README
/usr/share/man/man3/Bundle::DBD::CSV.3pm.gz
/usr/share/man/man3/DBD::CSV.3pm.gz
/usr/share/perl5/vendor_perl/Bundle
/usr/share/perl5/vendor_perl/Bundle/DBD
/usr/share/perl5/vendor_perl/Bundle/DBD/CSV.pm
/usr/share/perl5/vendor_perl/DBD
/usr/share/perl5/vendor_perl/DBD/CSV
/usr/share/perl5/vendor_perl/DBD/CSV.pm
/usr/share/perl5/vendor_perl/DBD/CSV/GetInfo.pm
/usr/share/perl5/vendor_perl/DBD/CSV/TypeInfo.pm

References

Summary

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