How To Install s4cmd on Debian 10

Learn how to install s4cmd on Debian 10 with this tutorial. s4cmd is Super Amazon S3 command line tool

Introduction

In this tutorial we learn how to install s4cmd on Debian 10.

What is s4cmd

s4cmd is:

The s4cmd tool provides a command line interface for interaction with Amazon’s S3 cloud storage service. It is intended as an alternative to the existing s3cmd tool, enhancing performance and support for large files, and coming with a number of additional features and fixes.

s4cmd strives to be compatible with the most common usage scenarios for s3cmd. It does not offer exact drop-in compatibility, due to a number of corner cases where different behavior seems preferable, or for bugfixes.

There are three methods to install s4cmd on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install s4cmd Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install s4cmd using apt-get by running the following command:

sudo apt-get -y install s4cmd

Install s4cmd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install s4cmd using apt by running the following command:

sudo apt -y install s4cmd

Install s4cmd Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install s4cmd using aptitude by running the following command:

sudo aptitude -y install s4cmd

How To Uninstall s4cmd on Debian 10

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

sudo apt-get remove s4cmd

Uninstall s4cmd And Its Dependencies

To uninstall s4cmd and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove s4cmd

Remove s4cmd Configurations and Data

To remove s4cmd configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge s4cmd

Remove s4cmd configuration, data, and all of its dependencies

We can use the following command to remove s4cmd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge s4cmd

Dependencies

s4cmd have the following dependencies:

References

Summary

In this tutorial we learn how to install s4cmd package on Debian 10 using different package management tools: apt, apt-get and aptitude.