How To Install perl-DBICx-TestDatabase on Fedora 36

In this tutorial we learn how to install perl-DBICx-TestDatabase in Fedora 36. perl-DBICx-TestDatabase is Create a temporary database from a DBIx

Introduction

In this tutorial we learn how to install perl-DBICx-TestDatabase on Fedora 36.

What is perl-DBICx-TestDatabase

This module creates a temporary SQLite database, deploys your DBIC schema, and then connects to it. This lets you easily test your DBIC schema. Since you have a fresh database for every test, you don’t have to worry about cleaning up after your tests, ordering of tests affecting failure, etc.

We can use yum or dnf to install perl-DBICx-TestDatabase on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-DBICx-TestDatabase.

Install perl-DBICx-TestDatabase on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-DBICx-TestDatabase using dnf by running the following command:

sudo dnf -y install perl-DBICx-TestDatabase

Install perl-DBICx-TestDatabase on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-DBICx-TestDatabase using yum by running the following command:

sudo yum -y install perl-DBICx-TestDatabase

How To Uninstall perl-DBICx-TestDatabase on Fedora 36

To uninstall only the perl-DBICx-TestDatabase package we can use the following command:

sudo dnf remove perl-DBICx-TestDatabase

perl-DBICx-TestDatabase Package Contents on Fedora 36

/usr/share/doc/perl-DBICx-TestDatabase
/usr/share/doc/perl-DBICx-TestDatabase/Changes
/usr/share/doc/perl-DBICx-TestDatabase/README
/usr/share/man/man3/DBICx::TestDatabase.3pm.gz
/usr/share/man/man3/DBICx::TestDatabase::Subclass.3pm.gz
/usr/share/perl5/vendor_perl/DBICx
/usr/share/perl5/vendor_perl/DBICx/TestDatabase
/usr/share/perl5/vendor_perl/DBICx/TestDatabase.pm
/usr/share/perl5/vendor_perl/DBICx/TestDatabase/Subclass.pm

References

Summary

In this tutorial we learn how to install perl-DBICx-TestDatabase on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).