How To Install openlmi-python-base.noarch on Amazon Linux 2

In this tutorial we learn how to install openlmi-python-base.noarch in Amazon Linux 2. openlmi-python-base.noarch is Python namespace package for OpenLMI python projects

Introduction

In this tutorial we learn how to install openlmi-python-base.noarch on Amazon Linux 2.

What is openlmi-python-base.noarch

The openlmi-python-base package contains python namespace package for all OpenLMI related projects running on python.

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

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

sudo yum -y install openlmi-python-base.noarch

How To Uninstall openlmi-python-base.noarch on Amazon Linux 2

To uninstall only the openlmi-python-base.noarch package we can use the following command:

sudo yum remove openlmi-python-base.noarch

openlmi-python-base.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/lmi
/usr/lib/python2.7/site-packages/lmi/__init__.py
/usr/lib/python2.7/site-packages/lmi/__init__.pyc
/usr/lib/python2.7/site-packages/lmi/__init__.pyo
/usr/lib/python2.7/site-packages/lmi/base
/usr/lib/python2.7/site-packages/lmi/base/BaseConfiguration.py
/usr/lib/python2.7/site-packages/lmi/base/BaseConfiguration.pyc
/usr/lib/python2.7/site-packages/lmi/base/BaseConfiguration.pyo
/usr/lib/python2.7/site-packages/lmi/base/__init__.py
/usr/lib/python2.7/site-packages/lmi/base/__init__.pyc
/usr/lib/python2.7/site-packages/lmi/base/__init__.pyo
/usr/lib/python2.7/site-packages/lmi/base/mofparse.py
/usr/lib/python2.7/site-packages/lmi/base/mofparse.pyc
/usr/lib/python2.7/site-packages/lmi/base/mofparse.pyo
/usr/lib/python2.7/site-packages/lmi/base/singletonmixin.py
/usr/lib/python2.7/site-packages/lmi/base/singletonmixin.pyc
/usr/lib/python2.7/site-packages/lmi/base/singletonmixin.pyo
/usr/lib/python2.7/site-packages/openlmi-0.5.0-py2.7-nspkg.pth
/usr/lib/python2.7/site-packages/openlmi-0.5.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/openlmi-0.5.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/openlmi-0.5.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/openlmi-0.5.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/openlmi-0.5.0-py2.7.egg-info/namespace_packages.txt
/usr/lib/python2.7/site-packages/openlmi-0.5.0-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/openlmi-0.5.0-py2.7.egg-info/top_level.txt
/usr/share/doc/openlmi-python-base-0.5.0
/usr/share/doc/openlmi-python-base-0.5.0/COPYING
/usr/share/doc/openlmi-python-base-0.5.0/README

References

Summary

In this tutorial we learn how to install openlmi-python-base.noarch on Amazon Linux 2 using yum.