Monday, January 4, 2010

s3cmd 0.9.9 on Ubuntu 9.04/Jaunty

The version of s3cmd that comes with Ubuntu Jaunty is quite old (0.9.8; from late 2008). It seems that numerous issues have been fixed in 0.9.9, which is part of Karmic. Fortunately, there is a backport to Jaunty. Here's how to install:

  1. Uninstall s3cmd if you've already installed it:
    sudo apt-get remove s3cmd
  2. Add the following lines to /etc/apt/sources.list:
    # s3cmd backports
    deb http://ppa.launchpad.net/loic-martin3/ppa/ubuntu jaunty main 
    deb-src http://ppa.launchpad.net/loic-martin3/ppa/ubuntu jaunty main 
    
  3. Run these commands:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 78822001
    sudo apt-get update
    sudo apt-get install s3cmd
  4. Check that you've got 0.9.9:
    $ s3cmd --version
    s3cmd version 0.9.9

Thanks to Loïc Martin, from whom these packages originate.

No comments:

Post a Comment