How To Install trousers-lib on Rocky Linux 8

In this tutorial we learn how to install trousers-lib on Rocky Linux 8. trousers-lib is TrouSerS libtspi library

Introduction

In this tutorial we learn how to install trousers-lib on Rocky Linux 8.

What is trousers-lib

The libtspi library for use in Trusted Computing enabled applications.

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

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

sudo dnf -y install trousers-lib

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

sudo yum -y install trousers-lib

How To Uninstall trousers-lib on Rocky Linux 8

To uninstall only the trousers-lib package we can use the following command:

sudo dnf remove trousers-lib

trousers-lib Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/35023f6af3ca08ad59269dcaa604594bad93ba
/usr/lib/libtspi.so.1
/usr/lib/libtspi.so.1.2.0
/usr/share/licenses/trousers-lib
/usr/share/licenses/trousers-lib/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/deec22a2f6e7ed7aa196ef69d2cb240fe84ea4
/usr/lib64/libtspi.so.1
/usr/lib64/libtspi.so.1.2.0
/usr/share/licenses/trousers-lib
/usr/share/licenses/trousers-lib/LICENSE

References

Summary

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