How To Install pywbem on CentOS 7
Introduction
In this tutorial we learn how to install pywbem on CentOS 7.
What is pywbem
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 or dnf to install pywbem on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install pywbem.
Install pywbem on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install pywbem using yum by running the following command:
sudo yum -y install pywbem
Install pywbem on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install pywbem using dnf by running the following command:
sudo dnf -y install pywbem
How To Uninstall pywbem on CentOS 7
To uninstall only the pywbem package we can use the following command:
sudo dnf remove pywbem
References
Summary
In this tutorial we learn how to install pywbem on CentOS 7 using yum and dnf.