How To Install s3cmd on AlmaLinux 8

In this tutorial we learn how to install s3cmd in AlmaLinux 8. s3cmd is Tool for accessing Amazon Simple Storage Service

Introduction

In this tutorial we learn how to install s3cmd on AlmaLinux 8.

What is s3cmd

S3cmd lets you copy files from/to Amazon S3 (Simple Storage Service) using a simple to use command line client.

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

Install s3cmd on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install s3cmd

Install s3cmd on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install s3cmd

How To Uninstall s3cmd on AlmaLinux 8

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

sudo dnf remove s3cmd

References

Summary

In this tutorial we learn how to install s3cmd on AlmaLinux 8 using yum and dnf.