How To Install syslog-ng-mongodb on Fedora 36

In this tutorial we learn how to install syslog-ng-mongodb in Fedora 36. syslog-ng-mongodb is MongoDB support for syslog-ng

Introduction

In this tutorial we learn how to install syslog-ng-mongodb on Fedora 36.

What is syslog-ng-mongodb

This module supports the mongodb database via libmongo-client.

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

Install syslog-ng-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 syslog-ng-mongodb using dnf by running the following command:

sudo dnf -y install syslog-ng-mongodb

Install syslog-ng-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 syslog-ng-mongodb using yum by running the following command:

sudo yum -y install syslog-ng-mongodb

How To Uninstall syslog-ng-mongodb on Fedora 36

To uninstall only the syslog-ng-mongodb package we can use the following command:

sudo dnf remove syslog-ng-mongodb

syslog-ng-mongodb Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d1/8505445efa573aa37e27cb002832427c6136dc
/usr/lib64/syslog-ng/libafmongodb.so

References

Summary

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