How To Install libmspack on Rocky Linux 8

In this tutorial we learn how to install libmspack on Rocky Linux 8. libmspack is Library for CAB and related files compression and decompression

Introduction

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

What is libmspack

The purpose of libmspack is to provide both compression and decompression of some loosely related file formats used by Microsoft.

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

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

sudo dnf -y install libmspack

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

sudo yum -y install libmspack

How To Uninstall libmspack on Rocky Linux 8

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

sudo dnf remove libmspack

libmspack Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/57
/usr/lib/.build-id/57/88dae07950bd06f6e104896634cbb2fcd27411
/usr/lib/libmspack.so.0
/usr/lib/libmspack.so.0.1.0
/usr/share/doc/libmspack
/usr/share/doc/libmspack/AUTHORS
/usr/share/doc/libmspack/COPYING.LIB
/usr/share/doc/libmspack/ChangeLog
/usr/share/doc/libmspack/README
/usr/share/doc/libmspack/TODO
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/446cf4b794d25730992bee4f4040c5f5ab871f
/usr/lib64/libmspack.so.0
/usr/lib64/libmspack.so.0.1.0
/usr/share/doc/libmspack
/usr/share/doc/libmspack/AUTHORS
/usr/share/doc/libmspack/COPYING.LIB
/usr/share/doc/libmspack/ChangeLog
/usr/share/doc/libmspack/README
/usr/share/doc/libmspack/TODO

References

Summary

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