Md Obydullah Follow I'm Md Obydullah. I build open-source projects and write about Laravel, Linux server, modern JavaScript and web development.

How to Install Amazon AWS CLI on RHEL / CentOS 8

Published on January 21, 2020 28 sec read

Today I’m going to install AWS CLI on RHEL / CentOS 8 server. Let’s install:

Table of Contents

  1. Install PIP
  2. Install AWS CLI
  3. AWS CLI Configuration
  4. Uninstall AWS CLI

Step 1 : Install PIP

First, we have to install PIP on our machine. We need PIP to install AWS CLI. Run this command to install PIP:

sudo dnf install python3-pip

Step 1 : Install AWS CLI

Using PIP, let’s install AWS CLI:

pip3 install awscli --upgrade --user

Step 3 : AWS CLI Configuration

We can verify if AWS CLI is installed or not by checking AWS CLI version using this command:

# aws cli version
aws --version

# pip version
pip3 --version

Now run this command to set Amazon Aws credentials:

aws configure

Step 4 : Uninstall AWS CLI

To uninstall AWS CLI, we need to run this command:

pip3 uninstall awscli
The article is over. Thanks for reading. 🙂

You're welcome to suggest any article to write!

Md Obydullah Follow I'm Md Obydullah. I build open-source projects and write about Laravel, Linux server, modern JavaScript and web development.

Leave a Reply

Your email address will not be published. Required fields are marked *