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

In this tutorial we learn how to install openlmi-providers.x86_64 in Amazon Linux 2. openlmi-providers.x86_64 is Set of basic CIM providers

Introduction

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

What is openlmi-providers.x86_64

openlmi-providers is set of (usually) small CMPI providers (agents) for basic monitoring and management of host system using Common Information Model (CIM).

We can use yum to install openlmi-providers.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-providers.x86_64.

Install openlmi-providers.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-providers.x86_64 using yum by running the following command:

sudo yum -y install openlmi-providers.x86_64

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

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

sudo yum remove openlmi-providers.x86_64

openlmi-providers.x86_64 Package Contents on Amazon Linux 2

/etc/openlmi
/etc/openlmi/openlmi.conf
/usr/bin/openlmi-mof-register
/usr/lib64/libopenlmicommon.so.0
/usr/lib64/libopenlmicommon.so.0.0.2
/usr/share/doc/openlmi-providers
/usr/share/doc/openlmi-providers/COPYING
/usr/share/doc/openlmi-providers/README
/usr/share/openlmi-providers
/usr/share/openlmi-providers/05_LMI_Qualifiers.mof
/usr/share/openlmi-providers/30_LMI_Jobs.mof
/var/lib/openlmi-registration
/var/lib/openlmi-registration/mof
/var/lib/openlmi-registration/reg
/var/lib/openlmi-registration/regdb.sqlite
/var/log/openlmi-install.log

References

Summary

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