How To Install libstoragemgmt on Fedora 34

libstoragemgmt is Storage array management library Storage array management library

Introduction

In this tutorial we learn how to install libstoragemgmt on Fedora 34.

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). libstoragemgmt 1.9.2 1.fc34 x86_64 239 k libstoragemgmt-1.9.2-1.fc34.src.rpm updates Storage array management library https LGPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libstoragemgmt.

Install libstoragemgmt on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libstoragemgmt

Install libstoragemgmt on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libstoragemgmt

libstoragemgmt Package Contents on Fedora 34

/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/1b
/usr/lib/.build-id/1b/cfd74557ea260dccabae7b26c362f5d6c0b42e
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/988c4dad7f0037ba3351133f887949697ec0a1
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/64a2f7f1a96f0b9a016a3bf05f624c4c486fc4
/usr/lib/systemd/system/libstoragemgmt.service
/usr/lib/tmpfiles.d/libstoragemgmt.conf
/usr/lib64/libstoragemgmt.so.1
/usr/lib64/libstoragemgmt.so.1.9.2
/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/28
/usr/lib/.build-id/28/1bee41cd6c0b671d60945f078f8881b1a228e4
/usr/lib/.build-id/51
/usr/lib/.build-id/51/4383cf8a9a84a5ca6233c540db47c08a1adc88
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/07e5d7801b4fc531b99b1ffdd9728f9aa2b405
/usr/lib/systemd/system/libstoragemgmt.service
/usr/lib/tmpfiles.d/libstoragemgmt.conf
/usr/lib64/libstoragemgmt.so.1
/usr/lib64/libstoragemgmt.so.1.9.0
/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/2f
/usr/lib/.build-id/2f/6006ee9411a52be90fcba4c051dcb58e60ab88
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/b1651630443e4b1135dfd552c91f183694cbcb
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/55ed652bdb53d8be03ecb1f7777c98e4388c43
/usr/lib/libstoragemgmt.so.1
/usr/lib/libstoragemgmt.so.1.9.2
/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/34
/usr/lib/.build-id/34/779be5702c2ccf21057392b46210d44e033db8
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/96e4bc78dd9f2a7c18666cd0e6790b9de87ffc
/usr/lib/.build-id/54
/usr/lib/.build-id/54/f580c6b96b562be140de0b4cb343270b76931c
/usr/lib/libstoragemgmt.so.1
/usr/lib/libstoragemgmt.so.1.9.0
/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

References

Summary

In this tutorial we learn how to install libstoragemgmt on Fedora 34 using yum and dnf.