How To Install pywbem.noarch on Amazon Linux 2

In this tutorial we learn how to install pywbem.noarch in Amazon Linux 2. pywbem.noarch is Python WBEM Client and Provider Interface

Introduction

In this tutorial we learn how to install pywbem.noarch on Amazon Linux 2.

What is pywbem.noarch

A Python library for making CIM (Common Information Model) operations over HTTP using the WBEM CIM-XML protocol. It is based on the idea that a good WBEM client should be easy to use and not necessarily require a large amount of programming knowledge. It is suitable for a large range of tasks from simply poking around to writing web and GUI applications. WBEM, or Web Based Enterprise Management is a manageability protocol, like SNMP, standardised by the Distributed Management Task Force (DMTF) available at http It also provides a Python provider interface, and is the fastest and easiest way to write providers on the planet.

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

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

sudo yum -y install pywbem.noarch

How To Uninstall pywbem.noarch on Amazon Linux 2

To uninstall only the pywbem.noarch package we can use the following command:

sudo yum remove pywbem.noarch

pywbem.noarch Package Contents on Amazon Linux 2

/usr/bin/mofcomp
/usr/bin/pywbemcli
/usr/lib/python2.7/site-packages/pywbem
/usr/lib/python2.7/site-packages/pywbem-0.7.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/pywbem/__init__.py
/usr/lib/python2.7/site-packages/pywbem/__init__.pyc
/usr/lib/python2.7/site-packages/pywbem/__init__.pyo
/usr/lib/python2.7/site-packages/pywbem/cim_constants.py
/usr/lib/python2.7/site-packages/pywbem/cim_constants.pyc
/usr/lib/python2.7/site-packages/pywbem/cim_constants.pyo
/usr/lib/python2.7/site-packages/pywbem/cim_http.py
/usr/lib/python2.7/site-packages/pywbem/cim_http.pyc
/usr/lib/python2.7/site-packages/pywbem/cim_http.pyo
/usr/lib/python2.7/site-packages/pywbem/cim_obj.py
/usr/lib/python2.7/site-packages/pywbem/cim_obj.pyc
/usr/lib/python2.7/site-packages/pywbem/cim_obj.pyo
/usr/lib/python2.7/site-packages/pywbem/cim_operations.py
/usr/lib/python2.7/site-packages/pywbem/cim_operations.pyc
/usr/lib/python2.7/site-packages/pywbem/cim_operations.pyo
/usr/lib/python2.7/site-packages/pywbem/cim_provider.py
/usr/lib/python2.7/site-packages/pywbem/cim_provider.pyc
/usr/lib/python2.7/site-packages/pywbem/cim_provider.pyo
/usr/lib/python2.7/site-packages/pywbem/cim_provider2.py
/usr/lib/python2.7/site-packages/pywbem/cim_provider2.pyc
/usr/lib/python2.7/site-packages/pywbem/cim_provider2.pyo
/usr/lib/python2.7/site-packages/pywbem/cim_types.py
/usr/lib/python2.7/site-packages/pywbem/cim_types.pyc
/usr/lib/python2.7/site-packages/pywbem/cim_types.pyo
/usr/lib/python2.7/site-packages/pywbem/cim_xml.py
/usr/lib/python2.7/site-packages/pywbem/cim_xml.pyc
/usr/lib/python2.7/site-packages/pywbem/cim_xml.pyo
/usr/lib/python2.7/site-packages/pywbem/cimxml_parse.py
/usr/lib/python2.7/site-packages/pywbem/cimxml_parse.pyc
/usr/lib/python2.7/site-packages/pywbem/cimxml_parse.pyo
/usr/lib/python2.7/site-packages/pywbem/lex.py
/usr/lib/python2.7/site-packages/pywbem/lex.pyc
/usr/lib/python2.7/site-packages/pywbem/lex.pyo
/usr/lib/python2.7/site-packages/pywbem/moflextab.py
/usr/lib/python2.7/site-packages/pywbem/moflextab.pyc
/usr/lib/python2.7/site-packages/pywbem/moflextab.pyo
/usr/lib/python2.7/site-packages/pywbem/mofparsetab.py
/usr/lib/python2.7/site-packages/pywbem/mofparsetab.pyc
/usr/lib/python2.7/site-packages/pywbem/mofparsetab.pyo
/usr/lib/python2.7/site-packages/pywbem/tupleparse.py
/usr/lib/python2.7/site-packages/pywbem/tupleparse.pyc
/usr/lib/python2.7/site-packages/pywbem/tupleparse.pyo
/usr/lib/python2.7/site-packages/pywbem/tupletree.py
/usr/lib/python2.7/site-packages/pywbem/tupletree.pyc
/usr/lib/python2.7/site-packages/pywbem/tupletree.pyo
/usr/lib/python2.7/site-packages/pywbem/yacc.py
/usr/lib/python2.7/site-packages/pywbem/yacc.pyc
/usr/lib/python2.7/site-packages/pywbem/yacc.pyo
/usr/share/doc/pywbem-0.7.0
/usr/share/doc/pywbem-0.7.0/README

References

Summary

In this tutorial we learn how to install pywbem.noarch on Amazon Linux 2 using yum.