How To Install perl-Mojo-Pg on Fedora 36

In this tutorial we learn how to install perl-Mojo-Pg in Fedora 36. perl-Mojo-Pg is Mojolicious ♥ PostgreSQL

Introduction

In this tutorial we learn how to install perl-Mojo-Pg on Fedora 36.

What is perl-Mojo-Pg

Mojo fun to use with the Mojolicious real-time web framework. Perform queries blocking and non-blocking, use all SQL features PostgreSQL has to offer, generate CRUD queries from data structures, manage your database schema with migrations and build scalable real-time web applications with the publish/subscribe pattern.

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

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

sudo dnf -y install perl-Mojo-Pg

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

sudo yum -y install perl-Mojo-Pg

How To Uninstall perl-Mojo-Pg on Fedora 36

To uninstall only the perl-Mojo-Pg package we can use the following command:

sudo dnf remove perl-Mojo-Pg

perl-Mojo-Pg Package Contents on Fedora 36

/usr/share/doc/perl-Mojo-Pg
/usr/share/doc/perl-Mojo-Pg/Changes
/usr/share/doc/perl-Mojo-Pg/README.md
/usr/share/licenses/perl-Mojo-Pg
/usr/share/licenses/perl-Mojo-Pg/LICENSE
/usr/share/man/man3/Mojo::Pg.3pm.gz
/usr/share/man/man3/Mojo::Pg::Database.3pm.gz
/usr/share/man/man3/Mojo::Pg::Migrations.3pm.gz
/usr/share/man/man3/Mojo::Pg::PubSub.3pm.gz
/usr/share/man/man3/Mojo::Pg::Results.3pm.gz
/usr/share/man/man3/Mojo::Pg::Transaction.3pm.gz
/usr/share/perl5/vendor_perl/Mojo
/usr/share/perl5/vendor_perl/Mojo/Pg
/usr/share/perl5/vendor_perl/Mojo/Pg.pm
/usr/share/perl5/vendor_perl/Mojo/Pg/Database.pm
/usr/share/perl5/vendor_perl/Mojo/Pg/Migrations.pm
/usr/share/perl5/vendor_perl/Mojo/Pg/PubSub.pm
/usr/share/perl5/vendor_perl/Mojo/Pg/Results.pm
/usr/share/perl5/vendor_perl/Mojo/Pg/Transaction.pm

References

Summary

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