Please install the required packages before installing the s3cmd tool and download the source zip from github:
sudo yum install unzip python-pip wget https://github.com/s3tools/s3cmd/archive/master.zip
Unzip the downloaded source zip file and move to the unzipped directory:
unzip master.zip cd s3cmd-master/
Once you have moved to the unzipped directory then just run this command:
sudo python setup.py install
Install the dateutil module, which is powerful extensions to the datetime module that is available in the Python standard library:
sudo pip install python-dateutil
Check the installed version of s3cmd tool:
s3cmd --version
After installation, run the following command in order to configure the s3cmd tools using your AMAZON ACCESS KEY and SECRET KEY.
s3cmd --configure
Enjoy