Skip to content

Instantly share code, notes, and snippets.

@dominicsayers
Created March 6, 2013 16:36
  • Star 15 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dominicsayers/5100711 to your computer and use it in GitHub Desktop.
Installing s3cmd on Ubuntu Server
  1. sudo apt-get install python-setuptools
  2. wget http://downloads.sourceforge.net/project/s3tools/s3cmd/1.5.0-alpha1/s3cmd-1.5.0-alpha1.tar.gz
  3. tar xvfz s3cmd-1.5.0-alpha1.tar.gz
  4. cd s3cmd-1.5.0-alpha1
  5. python setup.py install
  6. s3cmd --configure
@clarkewd
Copy link

very good - but should check http://sourceforge.net/projects/s3tools/files/s3cmd/ for newer releases like

http://sourceforge.net/projects/s3tools/files/s3cmd/1.5.0-beta1/s3cmd-1.5.0-beta1.tar.gz

@cathal
Copy link

cathal commented Dec 8, 2015

Leaving this for reference (s3cmd 1.6.0):

  1. sudo apt-get -y install python-setuptools
  2. wget http://netix.dl.sourceforge.net/project/s3tools/s3cmd/1.6.0/s3cmd-1.6.0.tar.gz
  3. tar xvfz s3cmd-1.6.0.tar.gz
  4. cd s3cmd-1.6.0
  5. sudo python setup.py install

@scratchoo
Copy link

I've installed s3cmd in my debian local machine using apt-get install s3cmd

@bobflorian
Copy link

@medbouzid -- using the debian sources you will get an outdated version. installing from source is preferred.

@mogosselin
Copy link

On Ubuntu 16.04 Server it installs version 1.6.1 with apt-get install s3cmd

@mbbernstein
Copy link

Thanks!

@panchicore
Copy link

Thanks!

@ednasawe
Copy link

ednasawe commented Mar 6, 2018

  1. Download the latest version of the s3cmd using this link 'https://sourceforge.net/projects/s3tools/?source=typ_redirect'
  2. unzip the folder using 'tar xvfz s3cmd-2.0.1.tar.gz'
  3. remove the zip folder using 'rm s3cmd-2.0.1.tar.gz'
  4. cd s3cmd-2.0.1 to the folder
  5. run 'sudo python setup.py install'

@ajostergaard
Copy link

s4cmd seems to be a decent alternative:

pip install s4cmd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment