How To Install libstoragemgmt-megaraid-plugin on Rocky Linux 8

In this tutorial we learn how to install libstoragemgmt-megaraid-plugin on Rocky Linux 8. libstoragemgmt-megaraid-plugin is Files for LSI MegaRAID support for libstoragemgmt

Introduction

In this tutorial we learn how to install libstoragemgmt-megaraid-plugin on Rocky Linux 8.

What is libstoragemgmt-megaraid-plugin

The libstoragemgmt-megaraid-plugin package contains the plugin for LSI MegaRAID storage management via storcli.

We can use yum or dnf to install libstoragemgmt-megaraid-plugin on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libstoragemgmt-megaraid-plugin.

Install libstoragemgmt-megaraid-plugin on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libstoragemgmt-megaraid-plugin using dnf by running the following command:

sudo dnf -y install libstoragemgmt-megaraid-plugin

Install libstoragemgmt-megaraid-plugin on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libstoragemgmt-megaraid-plugin using yum by running the following command:

sudo yum -y install libstoragemgmt-megaraid-plugin

How To Uninstall libstoragemgmt-megaraid-plugin on Rocky Linux 8

To uninstall only the libstoragemgmt-megaraid-plugin package we can use the following command:

sudo dnf remove libstoragemgmt-megaraid-plugin

libstoragemgmt-megaraid-plugin Package Contents on Rocky Linux 8

/etc/lsm/pluginconf.d/megaraid.conf
/usr/bin/megaraid_lsmplugin
/usr/lib/python3.6/site-packages/lsm/plugin/megaraid
/usr/lib/python3.6/site-packages/lsm/plugin/megaraid/__init__.py
/usr/lib/python3.6/site-packages/lsm/plugin/megaraid/__pycache__
/usr/lib/python3.6/site-packages/lsm/plugin/megaraid/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/megaraid/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/megaraid/__pycache__/megaraid.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/megaraid/__pycache__/megaraid.cpython-36.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/megaraid/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/megaraid/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/megaraid/megaraid.py
/usr/lib/python3.6/site-packages/lsm/plugin/megaraid/utils.py
/usr/share/man/man1/megaraid_lsmplugin.1.gz

References

Summary

In this tutorial we learn how to install libstoragemgmt-megaraid-plugin on Rocky Linux 8 using yum and dnf.