How To Install openlmi-python-test on CentOS 7

In this tutorial we learn how to install openlmi-python-test on CentOS 7. openlmi-python-test is OpenLMI test utilities

Introduction

In this tutorial we learn how to install openlmi-python-test on CentOS 7.

What is openlmi-python-test

The openlmi-python-test package contains test utilities and base classes for provider test cases.

We can use yum or dnf to install openlmi-python-test on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install openlmi-python-test.

Install openlmi-python-test on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install openlmi-python-test using yum by running the following command:

sudo yum -y install openlmi-python-test

Install openlmi-python-test 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 openlmi-python-test using dnf by running the following command:

sudo dnf -y install openlmi-python-test

How To Uninstall openlmi-python-test on CentOS 7

To uninstall only the openlmi-python-test package we can use the following command:

sudo dnf remove openlmi-python-test

References

Summary

In this tutorial we learn how to install openlmi-python-test on CentOS 7 using yum and dnf.