How To Install rubygem-logstash-event on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-logstash-event
on Fedora 36.
What is rubygem-logstash-event
rubygem-logstash-event contains the classes required to create LogStash events (combination of timestamp in ISO8601 format and message in any format) and their serialization to json. logstash-event rubygem is part of LogStash project, http
We can use yum
or dnf
to install rubygem-logstash-event
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-logstash-event.
Install rubygem-logstash-event 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 rubygem-logstash-event
using dnf
by running the following command:
sudo dnf -y install rubygem-logstash-event
Install rubygem-logstash-event 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 rubygem-logstash-event
using yum
by running the following command:
sudo yum -y install rubygem-logstash-event
How To Uninstall rubygem-logstash-event on Fedora 36
To uninstall only the rubygem-logstash-event
package we can use the following command:
sudo dnf remove rubygem-logstash-event
rubygem-logstash-event Package Contents on Fedora 36
/usr/share/gems/gems/logstash-event-1.2.02
/usr/share/gems/gems/logstash-event-1.2.02/LICENSE
/usr/share/gems/gems/logstash-event-1.2.02/lib
/usr/share/gems/gems/logstash-event-1.2.02/lib/logstash
/usr/share/gems/gems/logstash-event-1.2.02/lib/logstash-event.rb
/usr/share/gems/gems/logstash-event-1.2.02/lib/logstash/event.rb
/usr/share/gems/gems/logstash-event-1.2.02/lib/logstash/namespace.rb
/usr/share/gems/gems/logstash-event-1.2.02/lib/logstash/util
/usr/share/gems/gems/logstash-event-1.2.02/lib/logstash/util.rb
/usr/share/gems/gems/logstash-event-1.2.02/lib/logstash/util/fieldreference.rb
/usr/share/gems/specifications/logstash-event-1.2.02.gemspec
References
Summary
In this tutorial we learn how to install rubygem-logstash-event
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).