s3cl command not found

In this troubleshooting guide we learn how to fix s3cl command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

s3cl: command not found

or when using sudo you get the following error message

sudo: s3cl: command not found

Solutions to s3cl: command not found

How To Fix s3cl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu s3cl is provided by libnet-amazon-s3-perl package.

libnet-amazon-s3-perl is:

Net::Amazon::S3 provides a Perlish interface to Amazon S3. From the developer blurb: “Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon S3 provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefits on to developers”.

To find out more about S3, please visit: http://s3.amazonaws.com/

To use this module you will need to sign up to Amazon Web Services and provide an “Access Key ID” and " Secret Access Key". If you use this module, you will incur costs as specified by Amazon. Please check the costs. If you use this module with your Access Key ID and Secret Access Key you must be responsible for these costs.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libnet-amazon-s3-perl

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libnet-amazon-s3-perl.

sudo apt -y install libnet-amazon-s3-perl

Or if you have aptitude installed you can use the following command.

sudo aptitude install libnet-amazon-s3-perl

Summary

In this tutorial we learn how to fix s3cl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.