These are the prerequisites for installing AWS command line tools.

The following pages talk about installing the various AWS command line tools, however there are common prerequisites for them:

  • An Amazon Web Services account, if you don’t have one, you can sign up here.
  • Access Keys, which you can get here.
  • X.509 Certificate access credentials, which you can get here.
  • Many of them need Java to be installed. If you need to install Java, see our HowTo: Install Java article.
  • A program to download files from the Internet. You can use your browser for this, but the following articles use curl. See below on how to install curl if needed.
  • A program to unzip .zip files. The following articles use unzip. See below on how to install it if needed.

Check your version of Java

Console - user@hostname ~ $

1
java -version

Check your version of Perl

Console - user@hostname ~ $

1
perl -v

Check your version of Ruby

Console - user@hostname ~ $

1
ruby -v

Check your version of Curl

Console - user@hostname ~ $

1
curl --version

Installing Perl module

Some of the tools require additional perl modules. Here’s how to install one:

Console - user@hostname ~ $

1
perl -MCPAN -e 'install module'

for example, MIME::Base64

Console - user@hostname ~ $

1
perl -MCPAN -e 'install MIME::Base64'

To upgrade the all your modules to their current versions

Console - user@hostname ~ $

1
perl -MCPAN -e 'upgrade'

Installing curl

curl is usually installed by default.

Debian/Ubuntu

Console - user@hostname~$

1
sudo apt-get install curl

Amazon/Fedora/RedHat

Console - [user@hostname ~]$

1
sudo yum install curl

Gentoo

Console - user@hostname ~ $

1
sudo emerge --ask --verbose net-misc/curl

More Information

Curl website

Installing unzip

Debian/Ubuntu

Console - user@hostname~$

1
sudo apt-get install unzip

Amazon/Fedora/RedHat

Console - [user@hostname ~]$

1
sudo yum install unzip

Gentoo

Console - user@hostname ~ $

1
sudo emerge --ask --verbose app-arch/unzip

More Information

Unzip website

Installing ruby

Gentoo

Console - user@hostname ~ $

1
sudo emerge --ask --verbose dev-lang/ruby dev-ruby/rubygems

Parts in this series