If you are managing AWS (Amazon Web Service) compute system, you must be familiar with AWS CLI, a command line tool to manage your cloud computing on AWS. This quick and dirt tutorial will guide you to install AWS CLI on Ubuntu 16.04. There are two ways to install AWS CLI but here I will show you the simplest and easiest one.
Steps to install AWS CLI on Ubuntu 16.04
First, make sure you are have Python installed on Ubuntu. It is recommended to have Python version 2.6.5 or newer. Check your Python version first before the next steps.
python –version
Output:
dhani@dhani-ThinkPad-T450:~$ python –version
Python 2.7.12
A. Download the installer
Open Terminal and paste this command to download the installer:
curl “https://s3.amazonaws.com/aws-cli/awscli-bundle.zip” -o “awscli-bundle.zip”
B. Extract the installer
unzip awscli-bundle.zip
C. Initiate the installation
sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws