How to Install Amazon AWS CLI on RHEL / CentOS 8
Today I’m going to install AWS CLI on RHEL / CentOS 8 server. Let’s install:
Table of Contents
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. ?

Md Obydullah
https://shouts.dev/obydul
Comments
No comments yet…