Installing s3cmd on EC2 - so that yum package manager updates it

Wanted to install s3cmd tools on an Amazon AMI Linux EC2 instance, and have it update when I use sudo yum update.


Following steps on http://s3tools.org/repositories :

  1. As a superuser (root) go to cd /etc/yum.repos.d
  1. Download s3tools.repo file for your distribution. The AMI version should be sudo wget http://s3tools.org/repo/RHEL_6/s3tools.repo
  1. Run sudo yum install s3cmd if you don’t have s3cmd rpm package installed yet, or yum upgrade s3cmd if you already have s3cmd rpm installed and long for a newer version.
  1. You will be asked to accept a new GPG key – answer yes (perhaps twice).
  1. That’s it. Next time you run yum upgrade you’ll automatically get the very latest s3cmd for your system.

Comments