How To Install perl-DBD-SQLite.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-DBD-SQLite.x86_64 in Amazon Linux 2. perl-DBD-SQLite.x86_64 is SQLite DBI Driver

Introduction

In this tutorial we learn how to install perl-DBD-SQLite.x86_64 on Amazon Linux 2.

What is perl-DBD-SQLite.x86_64

SQLite is a public domain RDBMS database engine that you can find at http This module provides a SQLite RDBMS module that uses the system SQLite libraries.

We can use yum to install perl-DBD-SQLite.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-DBD-SQLite.x86_64.

Install perl-DBD-SQLite.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-DBD-SQLite.x86_64 using yum by running the following command:

sudo yum -y install perl-DBD-SQLite.x86_64

How To Uninstall perl-DBD-SQLite.x86_64 on Amazon Linux 2

To uninstall only the perl-DBD-SQLite.x86_64 package we can use the following command:

sudo yum remove perl-DBD-SQLite.x86_64

perl-DBD-SQLite.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/DBD
/usr/lib64/perl5/vendor_perl/DBD/SQLite
/usr/lib64/perl5/vendor_perl/DBD/SQLite.pm
/usr/lib64/perl5/vendor_perl/DBD/SQLite/Cookbook.pod
/usr/lib64/perl5/vendor_perl/auto/DBD
/usr/lib64/perl5/vendor_perl/auto/DBD/SQLite
/usr/lib64/perl5/vendor_perl/auto/DBD/SQLite/SQLite.so
/usr/lib64/perl5/vendor_perl/auto/share
/usr/lib64/perl5/vendor_perl/auto/share/dist
/usr/lib64/perl5/vendor_perl/auto/share/dist/DBD-SQLite
/usr/lib64/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3.c
/usr/lib64/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3.h
/usr/lib64/perl5/vendor_perl/auto/share/dist/DBD-SQLite/sqlite3ext.h
/usr/share/doc/perl-DBD-SQLite-1.39
/usr/share/doc/perl-DBD-SQLite-1.39/Changes
/usr/share/doc/perl-DBD-SQLite-1.39/README
/usr/share/man/man3/DBD::SQLite.3pm.gz
/usr/share/man/man3/DBD::SQLite::Cookbook.3pm.gz

References

Summary

In this tutorial we learn how to install perl-DBD-SQLite.x86_64 on Amazon Linux 2 using yum.