I installed awscli on my EC2 instance using apt-get install.

The version is still aws-cli/1.2.9 and no longer updates if I use apt-get upgrade awscli. The latest release from what I Googled is 1.10.30.

How can you update aws cli on Ubuntu 14.04?

Thank you.

PS. Other than using pip since I don't have that.

  • 1
    What's preventing you from installing pip? I guess you could use easy_install or manually download the source distribution. – jordanm May 23 '16 at 12:52

Here's the explanation on how you can perform the upgrade.

http://docs.aws.amazon.com/cli/latest/userguide/installing.html

Here's what did the job for me:

To install the AWS CLI using the bundled installer
Download the AWS CLI Bundled Installer using wget or curl.
Unzip the package.

Run the install executable.

On Linux and OS X, here are the three commands that correspond to each step:

curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
unzip awscli-bundle.zip
sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
  • Links to external resources are encouraged, but the important/relevant information from the link should be included in the answer. In general, it’s best for answers to be as self-contained as possible. Always quote the most relevant part of the external resource as its URL may change or go permanently offline. – Anthony Geoghegan Jun 22 '16 at 13:20
  • 1
    ok thanks, it has been a while – jcuypers Jun 22 '16 at 13:25

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.