How To Install libs3 on CentOS 7

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

Introduction

In this tutorial we learn how to install libs3 on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libs3.

Install libs3 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libs3

Install libs3 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libs3

How To Uninstall libs3 on CentOS 7

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

sudo dnf remove libs3

References

Summary

In this tutorial we learn how to install libs3 on CentOS 7 using yum and dnf.