s3cmd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
s3cmd: command not found
or when using sudo you get the following error message
sudo: s3cmd: command not found
Solutions to s3cmd: command not found
How To Fix s3cmd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu s3cmd is provided by s3cmd package.
s3cmd is:
Command-line tool to upload, retrieve and manage data in Amazon S3 service (http://www.amazon.com/s3/), designed for use in scripts. Features:
- creating and destroying S3 buckets
- uploading and downloading files
- listing remote files
- removing remote files
- synchronizing local directories to S3 buckets
- getting various information about buckets and disk usage
s3cmd supports both (US and EU) S3 datacentres.
To fix this problem, we can install more using the command below.
sudo apt-get -y install s3cmd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install s3cmd.
sudo apt -y install s3cmd
Or if you have aptitude installed you can use the following command.
sudo aptitude install s3cmd
Summary
In this tutorial we learn how to fix s3cmd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.