The AWS Command Line Interface (CLI) is a all-in-one tool to manage services available on AWS cloud. On RHEL 8 / CentOS 8 the AWS CLI can be installed by using the python package management system PIP.

In this tutorial you will learn:
  • How to install AWS CLI tools on RHEL 8 / CentOS 8
  • How to configure AWS CLI tools on RHEL 8 / CentOS 8
  • How to remove AWS CLI tools on RHEL 8 / CentOS 8
Checking version of installed AWS CLI tools on RHEL 8
Checking version of installed AWS CLI tools on RHEL 8.

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System RHEL 8 / CentOS 8
Software N/A
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

Install AWS CLI on Redhat 8 step by step instructions


$$$ Looking for LINUX ADMINISTRATOR ! $$$

BLUE SKY STUDIOS are looking for Linux Administrator to maintain and support the Studio's 450+ production Linux workstations, including daily interactions with the Studio’s digital animation artists.
LOCATION: Greenwich, Connecticut, USA

APPLY NOW

  1. install package pip which will in the later step be used to install the AWS CLI tools. Open the terminal and execute:
    # dnf install python3-pip
    
  2. Use the pip3 tool to install the AWS CLI tools. As a regular user execute:
    $ pip3 install awscli --upgrade --user
    
  3. Confirm the correct installation by checking the AWS CLI command version:
    $ aws --version
    aws-cli/1.16.60 Python/3.6.6 Linux/4.18.0-32.el8.x86_64 botocore/1.12.50
    
  4. Begin AWS CLI configuration:
    $ aws configure
    
  5. In case you need to remove/uninstall AWS CLI run the following command as a regular user:
    $ pip3 uninstall awscli
    
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.