on the system. We can install Python with the following command,
$ sudo apt-get install python3 (Ubuntu/Debian)
$ sudo yum install python (CentOS/RHEL)
$ dnf install python (Fedora)
$ curl -O https://bootstrap.pypa.io/get-pip.py
& then execute,
$ python get-pip.py
$ sudo apt-get install awscli or
$ sudo yum install awscli
But these are not the updated versions. For latest aws cli installation, run the following PIP command from the terminal,
$ pip install awscli
To upgrade the aws cli to the latest version,
$ pip install awscli –upgrade