Installation notes at http://s3tools.org/repositories#note-deb
Installing s3cmd on Ubuntu 10.04
You can copy and paste the following commands into your terminal.
- Import the S3tools signing key:
- wget -O- -q http://s3tools.org/repo/deb-all/stable/s3tools.key | sudo apt-key add -
- Add the repo to sources.list:
- sudo wget -O/etc/apt/sources.list.d/s3tools.list http://s3tools.org/repo/deb-all/stable/s3tools.list
- Refresh package cache and install the newest s3cmd:
- sudo apt-get update && sudo apt-get install s3cmd
Configuring s3cmd on Ubuntu 10.04
Once installed, issue the command: s3cmd --configure
You will be asked for the following:
- Amazon access key
- Amazon secret key
- To set a new encryption password
- To accept the default location of GPG (just hit enter if GPG is installed in /usr/bin/gpg)
- Choose whether to use HTTPS
The s3cmd configuration is saved to /home/ubuntu/.s3cfg.
You are now ready to use s3cmd - there are some quick start commands in the simple HowTo at http://s3tools.org/s3cmd
I also found the Ubuntu man page for s3cmd useful, especially for the -e switch for encryption which I couldn't find on the s3tools website at the time of writing.