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

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

Introduction

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

What is openlmi-hardware.x86_64

CIM provider for hardware on system.

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

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

sudo yum -y install openlmi-hardware.x86_64

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

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

sudo yum remove openlmi-hardware.x86_64

openlmi-hardware.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/cmpi/libcmpiLMI_Hardware.so
/usr/libexec/pegasus/cmpiLMI_Hardware-cimprovagt
/usr/share/doc/openlmi-hardware-0.5.0
/usr/share/doc/openlmi-hardware-0.5.0/COPYING
/usr/share/doc/openlmi-hardware-0.5.0/README
/usr/share/openlmi-providers/60_LMI_Hardware.mof
/usr/share/openlmi-providers/60_LMI_Hardware.reg
/usr/share/openlmi-providers/90_LMI_Hardware_Profile.mof
/usr/share/openlmi-providers/90_LMI_Hardware_Profile_DMTF.mof

References

Summary

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