How To Install cmpi-bindings-pywbem.x86_64 on Amazon Linux 2

In this tutorial we learn how to install cmpi-bindings-pywbem.x86_64 in Amazon Linux 2. cmpi-bindings-pywbem.x86_64 is Adapter to write and run CMPI-type CIM providers in Python

Introduction

In this tutorial we learn how to install cmpi-bindings-pywbem.x86_64 on Amazon Linux 2.

What is cmpi-bindings-pywbem.x86_64

CMPI-compliant provider interface for Python

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

Install cmpi-bindings-pywbem.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 cmpi-bindings-pywbem.x86_64 using yum by running the following command:

sudo yum -y install cmpi-bindings-pywbem.x86_64

How To Uninstall cmpi-bindings-pywbem.x86_64 on Amazon Linux 2

To uninstall only the cmpi-bindings-pywbem.x86_64 package we can use the following command:

sudo yum remove cmpi-bindings-pywbem.x86_64

cmpi-bindings-pywbem.x86_64 Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/pycim
/usr/lib64/cmpi
/usr/lib64/cmpi/libpyCmpiProvider.so
/usr/lib64/python2.7/site-packages/cmpi.py
/usr/lib64/python2.7/site-packages/cmpi.pyc
/usr/lib64/python2.7/site-packages/cmpi.pyo
/usr/lib64/python2.7/site-packages/cmpi_pywbem_bindings.py
/usr/lib64/python2.7/site-packages/cmpi_pywbem_bindings.pyc
/usr/lib64/python2.7/site-packages/cmpi_pywbem_bindings.pyo
/usr/share/doc/cmpi-bindings-pywbem-0.9.5
/usr/share/doc/cmpi-bindings-pywbem-0.9.5/ANNOUNCE
/usr/share/doc/cmpi-bindings-pywbem-0.9.5/COPYING
/usr/share/doc/cmpi-bindings-pywbem-0.9.5/LICENSE.BSD
/usr/share/doc/cmpi-bindings-pywbem-0.9.5/README
/usr/share/doc/cmpi-bindings-pywbem-0.9.5/README.Fedora

References

Summary

In this tutorial we learn how to install cmpi-bindings-pywbem.x86_64 on Amazon Linux 2 using yum.