How To Install libs3 on Rocky Linux 8

In this tutorial we learn how to install libs3 on Rocky Linux 8. libs3 is C Library and Tools for Amazon S3 Access

Introduction

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

What is libs3

This package includes the libs3 shared object library, needed to run applications compiled against libs3, and additionally contains the s3 utility for accessing Amazon S3.

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

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

sudo dnf -y install libs3

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

sudo yum -y install libs3

How To Uninstall libs3 on Rocky Linux 8

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

sudo dnf remove libs3

libs3 Package Contents on Rocky Linux 8

/usr/bin/s3
/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/8e0789f95c9766f1375d71c202a74642fa5fd2
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/09543cf56944c53af13a88d7597b967294f7bd
/usr/lib64/libs3.so.4
/usr/lib64/libs3.so.4.1
/usr/share/licenses/libs3
/usr/share/licenses/libs3/COPYING-GPLv2
/usr/share/licenses/libs3/COPYING-LGPLv3
/usr/share/licenses/libs3/LICENSE

References

Summary

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