The following linux commands will help you to install Amazon s3cmd Command Line S3 tool on CentOS Linux.
First, enable EPEL repository:
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm # rpm -Uvh epel-release*.rpm
If EPEL repository is enabled correctly then the following linux command will list EPEL repository:
# yum repolist | grep epel epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 9037
Next, install pip
tool to be used later to install s3cdm python package:
# yum install python-pip.noarch
Almost finished. What remains is to use pip
to install s3cmd
:
# pip install s3cmd
s3cdm
is now installed:
# s3cmd --version s3cmd version 1.6.0
To configure your s3cdm
tool with Amazon S# storage run:
# s3cmd --configure