How To Install openlmi-journald.x86_64 on Amazon Linux 2

In this tutorial we learn how to install openlmi-journald.x86_64 in Amazon Linux 2. openlmi-journald.x86_64 is CIM provider for Journald

Introduction

In this tutorial we learn how to install openlmi-journald.x86_64 on Amazon Linux 2.

What is openlmi-journald.x86_64

The openlmi-journald package contains CMPI providers for systemd journald service, allowing listing, iterating through and writing new message log records.

We can use yum to install openlmi-journald.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install openlmi-journald.x86_64.

Install openlmi-journald.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install openlmi-journald.x86_64 using yum by running the following command:

sudo yum -y install openlmi-journald.x86_64

How To Uninstall openlmi-journald.x86_64 on Amazon Linux 2

To uninstall only the openlmi-journald.x86_64 package we can use the following command:

sudo yum remove openlmi-journald.x86_64

openlmi-journald.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/cmpi/libcmpiLMI_Journald.so
/usr/libexec/pegasus/cmpiLMI_Journald-cimprovagt
/usr/share/doc/openlmi-journald-0.5.0
/usr/share/doc/openlmi-journald-0.5.0/COPYING
/usr/share/doc/openlmi-journald-0.5.0/README
/usr/share/openlmi-providers/60_LMI_Journald.mof
/usr/share/openlmi-providers/60_LMI_Journald.reg
/usr/share/openlmi-providers/70_LMI_JournaldIndicationFilters.mof
/usr/share/openlmi-providers/90_LMI_Journald_Profile.mof

References

Summary

In this tutorial we learn how to install openlmi-journald.x86_64 on Amazon Linux 2 using yum.