How To Install s3curl on Ubuntu 18.04

In this tutorial we learn how to install s3curl on Ubuntu 18.04. s3curl is Easily interact with AWS S3 HTTP services

Introduction

In this tutorial we learn how to install s3curl on Ubuntu 18.04.

What is s3curl

s3curl is:

Calculates the proper signature to interact with AWS S3 HTTP services, then calls cURL with the appropriate arguments.

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

Install s3curl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install s3curl

Install s3curl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install s3curl

Install s3curl 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install s3curl

How To Uninstall s3curl on Ubuntu 18.04

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

sudo apt-get remove s3curl

Uninstall s3curl And Its Dependencies

To uninstall s3curl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove s3curl

Remove s3curl Configurations and Data

To remove s3curl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge s3curl

Remove s3curl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge s3curl

References

Summary

In this tutorial we learn how to install s3curl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.