The objective is to install AWS CLI on Ubuntu 20.04 Focal Fossa Linux. This article will describe a procedure on how to install AWS CLI on Ubuntu 18.04 from a standard Ubuntu repository using the apt command.

In this tutorial you will learn:
  • How to install AWS CLI on Ubuntu
AWS CLI oon Ubuntu 20.04 Focal Fossa Linux
AWS CLI oon Ubuntu 20.04 Focal Fossa Linux

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Installed or upgraded Ubuntu 20.04 Focal Fossa
Software AWS CLI
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

How to Install AWS CLI on Ubuntu 20.04 step by step instructions

  1. To install the AWS CLI using apt command:
    $ sudo apt install awscli
    

  2. SUBSCRIBE TO NEWSLETTER
    Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


  3. Check AWS CLI version to confirm the installation:
    $ aws --version
    aws-cli/1.16.301 Python/3.7.6 Linux/5.4.0-9-generic botocore/1.13.37
    
  4. Begin the AWS CLI configuration by providing your AWS details:
    $ aws configure
    AWS Access Key ID [None]: 
    
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.