Some Linux distributions now provide s3cmd package in their base or add-ons package repositories. Unfortunately these repositories are very often “frozen” in the sense that package versions are never upgraded. From some points of view this is an understandable policy, however it also means that you will never automatically get any cool new features of future s3cmd releases.
For example – Fedora 8 (FC8) has been released with s3cmd 0.9.8.1 and even if security issues may get fixed in their updates repository it is unlikely that the users of FC8 will ever get any new features from s3cmd 0.9.8.4, for instance.
Therefore we decided to provide package repositories / rpm repositories for some of the most popular distributions with always the newest s3cmd package ready for installation.
Here is a list of currently supported distributions:
Unfortunately we can only build packages for RPM based distributions. At the moment we can’t provide packages for DEB based packages like Debian or Ubuntu.
How to add s3tools repository to RedHat, CentOS and Fedora
There are probably some graphical package managers in RedHat based systems, but I only use yum ;-)
- As a superuser (root) go to /etc/yum.repos.d
- Download s3tools.repo file for your distribution. Links to these .repo files are in the table above. For instance wget http://s3tools.org/repo/CentOS_5/s3tools.repo if you’re on CentOS 5
- Run 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.
- You will be asked to accept a new GPG key – answer yes (perhaps twice).
- That’s it. Next time you run yum upgrade you’ll automatically get the very latest s3cmd for your system.
How to add s3tools repository to OpenSUSE 11 and SLES 11
There are two ways to do it. The one described below uses command line package management tool called zypper, the other way is using YaST.
- Become a superuser (root)
- Find the s3tools.repo URL in the table above and run for instance: zypper addrepo http://s3tools.org/repo/openSUSE_11.0/s3tools.repo if you’re on OpenSUSE 11.0
- Install s3cmd with: zypper install s3cmd
- You will be asked whether you want to trust a new GPG key. Answer yes two times.
- That’s it. The s3cmd package will now be kept up to date together with all your other installed packages.
How to add s3tools repository to SLES 10 / SLED 10
Standard installation media for SuSE Linux Enterprise Server 10 and Enterprise Desktop 10 don’t contain package python-elementtree that s3cmd depends on. Therefore there is an extra step required before installing s3cmd:
- In YaST open Software -> Installation sources
- Click on Add and select Specify URL option
- First URL to add is http://download.opensuse.org/repositories/devel:/languages:/python/SLE_10 — that’s required for python-elementtree package.
- Repeat the above steps (Add and Specify URL) and add the s3cmd repository with URL http://s3tools.org/repo/SLE_10
- Exit the module with Finish
- Now from YaST module list select Software -> Software Management and search for s3cmd. A number of dependencies will be selected, namely: python-devel, python-xml, and python-elementtree
- You may be required to import one or two GPG signing keys while adding the repositories above or during package installation.
All other distributions
We’re keen to host repositories for other distributions and operating systems maintained by the other people. Unfortunately at the moment we’re unable to build packages for other distributions then those in the table above…




Brian wrote:
If I’m using FC8, will the FC9 or FC10 repos work for me?
(24 March 2009, 10:02 · #)
Michal Ludvig wrote:
Hi Brian,
Fedora 8 is no longer supported by RedHat and in turn my build service (build.opensuse.org) no longer builds for FC8 target.
I suggest you install from source, to be safe.
Michal
(24 March 2009, 12:00 · #)
Keith Beckman wrote:
Hmm . . . the current RPM doesn’t seem to have the man page in it.
( 3 August 2009, 18:08 · #)
Garrett Tillotson wrote:
Excellent… thank you!
(11 September 2009, 06:01 · #)
Alex wrote:
(1) The repo file for SuSE 11.1 seems to be missing.
(2) I tried installing the 11.0 version, and get an error message on install about s3cmd-0.9.9-3.1.i586 needing python < 2.6
(17 October 2009, 04:55 · #)