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. ?
Comment
Preview may take a few seconds to load.
Markdown Basics
Below you will find some common used markdown syntax. For a deeper dive in Markdown check out this Cheat Sheet
Bold & Italic
Italics *asterisks*
Bold **double asterisks**
Code
Inline Code
`backtick`Code Block```
Three back ticks and then enter your code blocks here.
```
Headers
# This is a Heading 1
## This is a Heading 2
### This is a Heading 3
Quotes
> type a greater than sign and start typing your quote.
Links
You can add links by adding text inside of [] and the link inside of (), like so:
Lists
To add a numbered list you can simply start with a number and a ., like so:
1. The first item in my list
For an unordered list, you can add a dash -, like so:
- The start of my list
Images
You can add images by selecting the image icon, which will upload and add an image to the editor, or you can manually add the image by adding an exclamation !, followed by the alt text inside of [], and the image URL inside of (), like so:
Dividers
To add a divider you can add three dashes or three asterisks:
--- or ***

Comments (0)