How To Install perl-MongoDB on Fedora 36

In this tutorial we learn how to install perl-MongoDB in Fedora 36. perl-MongoDB is MongoDB driver for Perl

Introduction

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

What is perl-MongoDB

This is a Perl client for accessing MongoDB servers. Upstream claims it will drop support for this code on 2020-08-13.

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

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

sudo dnf -y install perl-MongoDB

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

sudo yum -y install perl-MongoDB

How To Uninstall perl-MongoDB on Fedora 36

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

sudo dnf remove perl-MongoDB

perl-MongoDB Package Contents on Fedora 36

/usr/share/doc/perl-MongoDB
/usr/share/doc/perl-MongoDB/CONTRIBUTING.md
/usr/share/doc/perl-MongoDB/Changes
/usr/share/doc/perl-MongoDB/README
/usr/share/licenses/perl-MongoDB
/usr/share/licenses/perl-MongoDB/LICENSE
/usr/share/man/man3/MongoDB.3pm.gz
/usr/share/man/man3/MongoDB::BSON::Binary.3pm.gz
/usr/share/man/man3/MongoDB::BSON::Regexp.3pm.gz
/usr/share/man/man3/MongoDB::BulkWrite.3pm.gz
/usr/share/man/man3/MongoDB::BulkWriteResult.3pm.gz
/usr/share/man/man3/MongoDB::BulkWriteView.3pm.gz
/usr/share/man/man3/MongoDB::ChangeStream.3pm.gz
/usr/share/man/man3/MongoDB::ClientSession.3pm.gz
/usr/share/man/man3/MongoDB::Code.3pm.gz
/usr/share/man/man3/MongoDB::Collection.3pm.gz
/usr/share/man/man3/MongoDB::CommandResult.3pm.gz
/usr/share/man/man3/MongoDB::Cursor.3pm.gz
/usr/share/man/man3/MongoDB::DBRef.3pm.gz
/usr/share/man/man3/MongoDB::DataTypes.3pm.gz
/usr/share/man/man3/MongoDB::Database.3pm.gz
/usr/share/man/man3/MongoDB::DeleteResult.3pm.gz
/usr/share/man/man3/MongoDB::Error.3pm.gz
/usr/share/man/man3/MongoDB::Examples.3pm.gz
/usr/share/man/man3/MongoDB::GridFSBucket.3pm.gz
/usr/share/man/man3/MongoDB::GridFSBucket::DownloadStream.3pm.gz
/usr/share/man/man3/MongoDB::GridFSBucket::UploadStream.3pm.gz
/usr/share/man/man3/MongoDB::IndexView.3pm.gz
/usr/share/man/man3/MongoDB::InsertManyResult.3pm.gz
/usr/share/man/man3/MongoDB::InsertOneResult.3pm.gz
/usr/share/man/man3/MongoDB::MongoClient.3pm.gz
/usr/share/man/man3/MongoDB::Monitoring.3pm.gz
/usr/share/man/man3/MongoDB::OID.3pm.gz
/usr/share/man/man3/MongoDB::QueryResult.3pm.gz
/usr/share/man/man3/MongoDB::QueryResult::Filtered.3pm.gz
/usr/share/man/man3/MongoDB::ReadConcern.3pm.gz
/usr/share/man/man3/MongoDB::ReadPreference.3pm.gz
/usr/share/man/man3/MongoDB::Timestamp.3pm.gz
/usr/share/man/man3/MongoDB::Tutorial.3pm.gz
/usr/share/man/man3/MongoDB::UnacknowledgedResult.3pm.gz
/usr/share/man/man3/MongoDB::UpdateResult.3pm.gz
/usr/share/man/man3/MongoDB::Upgrading.3pm.gz
/usr/share/man/man3/MongoDB::Upgrading::v1.3pm.gz
/usr/share/man/man3/MongoDB::WriteConcern.3pm.gz
/usr/share/perl5/vendor_perl/MongoDB
/usr/share/perl5/vendor_perl/MongoDB.pm
/usr/share/perl5/vendor_perl/MongoDB/BSON
/usr/share/perl5/vendor_perl/MongoDB/BSON/Binary.pm
/usr/share/perl5/vendor_perl/MongoDB/BSON/Regexp.pm
/usr/share/perl5/vendor_perl/MongoDB/BulkWrite.pm
/usr/share/perl5/vendor_perl/MongoDB/BulkWriteResult.pm
/usr/share/perl5/vendor_perl/MongoDB/BulkWriteView.pm
/usr/share/perl5/vendor_perl/MongoDB/ChangeStream.pm
/usr/share/perl5/vendor_perl/MongoDB/ClientSession.pm
/usr/share/perl5/vendor_perl/MongoDB/Code.pm
/usr/share/perl5/vendor_perl/MongoDB/Collection.pm
/usr/share/perl5/vendor_perl/MongoDB/CommandResult.pm
/usr/share/perl5/vendor_perl/MongoDB/Cursor.pm
/usr/share/perl5/vendor_perl/MongoDB/DBRef.pm
/usr/share/perl5/vendor_perl/MongoDB/DataTypes.pod
/usr/share/perl5/vendor_perl/MongoDB/Database.pm
/usr/share/perl5/vendor_perl/MongoDB/DeleteResult.pm
/usr/share/perl5/vendor_perl/MongoDB/Error.pm
/usr/share/perl5/vendor_perl/MongoDB/Examples.pod
/usr/share/perl5/vendor_perl/MongoDB/GridFSBucket
/usr/share/perl5/vendor_perl/MongoDB/GridFSBucket.pm
/usr/share/perl5/vendor_perl/MongoDB/GridFSBucket/DownloadStream.pm
/usr/share/perl5/vendor_perl/MongoDB/GridFSBucket/UploadStream.pm
/usr/share/perl5/vendor_perl/MongoDB/IndexView.pm
/usr/share/perl5/vendor_perl/MongoDB/InsertManyResult.pm
/usr/share/perl5/vendor_perl/MongoDB/InsertOneResult.pm
/usr/share/perl5/vendor_perl/MongoDB/MongoClient.pm
/usr/share/perl5/vendor_perl/MongoDB/Monitoring.pod
/usr/share/perl5/vendor_perl/MongoDB/OID.pm
/usr/share/perl5/vendor_perl/MongoDB/Op
/usr/share/perl5/vendor_perl/MongoDB/Op/_Aggregate.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_BatchInsert.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_BulkWrite.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_ChangeStream.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_Command.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_Count.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_CreateIndexes.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_Delete.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_Distinct.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_DropCollection.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_DropDatabase.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_DropIndexes.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_EndTxn.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_Explain.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_FSyncUnlock.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_FindAndDelete.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_FindAndUpdate.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_GetMore.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_InsertOne.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_KillCursors.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_ListCollections.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_ListIndexes.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_ParallelScan.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_Query.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_RenameCollection.pm
/usr/share/perl5/vendor_perl/MongoDB/Op/_Update.pm
/usr/share/perl5/vendor_perl/MongoDB/QueryResult
/usr/share/perl5/vendor_perl/MongoDB/QueryResult.pm
/usr/share/perl5/vendor_perl/MongoDB/QueryResult/Filtered.pm
/usr/share/perl5/vendor_perl/MongoDB/ReadConcern.pm
/usr/share/perl5/vendor_perl/MongoDB/ReadPreference.pm
/usr/share/perl5/vendor_perl/MongoDB/Role
/usr/share/perl5/vendor_perl/MongoDB/Role/_BypassValidation.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_CollectionOp.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_CommandCursorOp.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_CommandMonitoring.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_CursorAPI.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_DatabaseErrorThrower.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_DatabaseOp.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_DeprecationWarner.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_InsertPreEncoder.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_OpReplyParser.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_PrivateConstructor.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_ReadOp.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_ReadPrefModifier.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_SessionSupport.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_SingleBatchDocWrite.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_TopologyMonitoring.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_UpdatePreEncoder.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_WriteOp.pm
/usr/share/perl5/vendor_perl/MongoDB/Role/_WriteResult.pm
/usr/share/perl5/vendor_perl/MongoDB/Timestamp.pm
/usr/share/perl5/vendor_perl/MongoDB/Tutorial.pod
/usr/share/perl5/vendor_perl/MongoDB/UnacknowledgedResult.pm
/usr/share/perl5/vendor_perl/MongoDB/UpdateResult.pm
/usr/share/perl5/vendor_perl/MongoDB/Upgrading
/usr/share/perl5/vendor_perl/MongoDB/Upgrading.pod
/usr/share/perl5/vendor_perl/MongoDB/Upgrading/v1.pod
/usr/share/perl5/vendor_perl/MongoDB/WriteConcern.pm
/usr/share/perl5/vendor_perl/MongoDB/_Constants.pm
/usr/share/perl5/vendor_perl/MongoDB/_Credential.pm
/usr/share/perl5/vendor_perl/MongoDB/_Dispatcher.pm
/usr/share/perl5/vendor_perl/MongoDB/_Link.pm
/usr/share/perl5/vendor_perl/MongoDB/_Platform.pm
/usr/share/perl5/vendor_perl/MongoDB/_Protocol.pm
/usr/share/perl5/vendor_perl/MongoDB/_Server.pm
/usr/share/perl5/vendor_perl/MongoDB/_ServerSession.pm
/usr/share/perl5/vendor_perl/MongoDB/_SessionPool.pm
/usr/share/perl5/vendor_perl/MongoDB/_Topology.pm
/usr/share/perl5/vendor_perl/MongoDB/_TransactionOptions.pm
/usr/share/perl5/vendor_perl/MongoDB/_Types.pm
/usr/share/perl5/vendor_perl/MongoDB/_URI.pm

References

Summary

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