How To Install libstoragemgmt on Rocky Linux 8

In this tutorial we learn how to install libstoragemgmt on Rocky Linux 8. libstoragemgmt is Storage array management library

Introduction

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

What is libstoragemgmt

The libStorageMgmt library will provide a vendor agnostic open source storage application programming interface (API) that will allow management of storage arrays. The library includes a command line interface for interactive use and scripting (command lsmcli). The library also has a daemon that is used for executing plug-ins in a separate process (lsmd).

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

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

sudo dnf -y install libstoragemgmt

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

sudo yum -y install libstoragemgmt

How To Uninstall libstoragemgmt on Rocky Linux 8

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

sudo dnf remove libstoragemgmt

libstoragemgmt Package Contents on Rocky Linux 8

/etc/lsm
/etc/lsm/lsmd.conf
/etc/lsm/pluginconf.d
/run/lsm
/run/lsm/ipc
/usr/bin/lsmcli
/usr/bin/lsmd
/usr/bin/simc_lsmplugin
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/ff94c83f8aa5c481316cffb69e98a9f9d42625
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/f8356e8191373595d073562706f1b8cc68ec3d
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/5441ff0e987f6d31823fd9c214b29302c25ff1
/usr/lib/libstoragemgmt.so.1
/usr/lib/libstoragemgmt.so.1.8.7
/usr/lib/systemd/system/libstoragemgmt.service
/usr/lib/tmpfiles.d/libstoragemgmt.conf
/usr/share/bash-completion/completions/lsmcli
/usr/share/doc/libstoragemgmt
/usr/share/doc/libstoragemgmt/COPYING.LIB
/usr/share/doc/libstoragemgmt/NEWS
/usr/share/doc/libstoragemgmt/README
/usr/share/man/man1/lsmcli.1.gz
/usr/share/man/man1/lsmd.1.gz
/usr/share/man/man1/simc_lsmplugin.1.gz
/usr/share/man/man5/lsmd.conf.5.gz
/etc/lsm
/etc/lsm/lsmd.conf
/etc/lsm/pluginconf.d
/run/lsm
/run/lsm/ipc
/usr/bin/lsmcli
/usr/bin/lsmd
/usr/bin/simc_lsmplugin
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/2e79208439acf7584844bb085c1d08e2dd8acd
/usr/lib/.build-id/73
/usr/lib/.build-id/73/9cf2df11dc4805df72d6408e4acda343f00646
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/35ecdcea1ef5fb7d713f93745a863355252272
/usr/lib/systemd/system/libstoragemgmt.service
/usr/lib/tmpfiles.d/libstoragemgmt.conf
/usr/lib64/libstoragemgmt.so.1
/usr/lib64/libstoragemgmt.so.1.8.7
/usr/share/bash-completion/completions/lsmcli
/usr/share/doc/libstoragemgmt
/usr/share/doc/libstoragemgmt/COPYING.LIB
/usr/share/doc/libstoragemgmt/NEWS
/usr/share/doc/libstoragemgmt/README
/usr/share/man/man1/lsmcli.1.gz
/usr/share/man/man1/lsmd.1.gz
/usr/share/man/man1/simc_lsmplugin.1.gz
/usr/share/man/man5/lsmd.conf.5.gz

References

Summary

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