How To Install fluent-bit on Fedora 36

In this tutorial we learn how to install fluent-bit in Fedora 36. fluent-bit is Fast data collector for Linux

Introduction

In this tutorial we learn how to install fluent-bit on Fedora 36.

What is fluent-bit

Fluent Bit is a high performance and multi-platform log forwarder.

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

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

sudo dnf -y install fluent-bit

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

sudo yum -y install fluent-bit

How To Uninstall fluent-bit on Fedora 36

To uninstall only the fluent-bit package we can use the following command:

sudo dnf remove fluent-bit

fluent-bit Package Contents on Fedora 36

/etc/fluent-bit
/etc/fluent-bit/fluent-bit-win32.conf
/etc/fluent-bit/fluent-bit.conf
/etc/fluent-bit/parsers.conf
/etc/fluent-bit/plugins.conf
/usr/bin/fluent-bit
/usr/lib/.build-id
/usr/lib/.build-id/60
/usr/lib/.build-id/60/ffb7cbfbf9c4bf6b3e442f9011dd2ef93a2646
/usr/lib/systemd/system/fluent-bit.service
/usr/share/doc/fluent-bit
/usr/share/doc/fluent-bit/CODE_OF_CONDUCT.md
/usr/share/doc/fluent-bit/CONTRIBUTING.md
/usr/share/doc/fluent-bit/GOLANG_OUTPUT_PLUGIN.md
/usr/share/doc/fluent-bit/GOVERNANCE.md
/usr/share/doc/fluent-bit/MAINTAINERS.md
/usr/share/doc/fluent-bit/README.md
/usr/share/licenses/fluent-bit
/usr/share/licenses/fluent-bit/LICENSE

References

Summary

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