Friday, June 5, 2020

How to install AWC CLI on Linux

Install  AWC CLI on Linux 


[root@anurag ~]#
[root@anurag ~]#
[root@anurag ~]# curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 31.4M  100 31.4M    0     0  71.7M      0 --:--:-- --:--:-- --:--:-- 71.7M
[root@anurag ~]# ls -lrt
total 33960
-rw-------. 1 root root     7325 Jun 18  2019 original-ks.cfg
-rw-------. 1 root root     7539 Jun 18  2019 anaconda-ks.cfg
-rw-r--r--  1 root root  1807342 Apr 14 11:16 get-pip.py
-rw-r--r--  1 root root 32945325 Jun  5 13:55 awscliv2.zip
[root@anurag ~]#
[root@anurag ~]# unzip awscliv2.zip
Archive:  awscliv2.zip
   creating: aws/
   creating: aws/dist/
  inflating: aws/THIRD_PARTY_LICENSES
  inflating: aws/install
  inflating: aws/README.md
   creating: aws/dist/_struct/
...............................
...............................
................................

  inflating: aws/dist/cryptography-2.8-py3.7.egg-info/top_level.txt
  inflating: aws/dist/cryptography-2.8-py3.7.egg-info/METADATA
  inflating: aws/dist/cryptography-2.8-py3.7.egg-info/LICENSE.APACHE
  inflating: aws/dist/cryptography-2.8-py3.7.egg-info/INSTALLER
  inflating: aws/dist/cryptography-2.8-py3.7.egg-info/WHEEL
[root@anurag ~]#
[root@anurag ~]#
[root@anurag ~]#
[root@anurag ~]# ls -lrt
total 33960
-rw-------. 1 root root     7325 Jun 18  2019 original-ks.cfg
-rw-------. 1 root root     7539 Jun 18  2019 anaconda-ks.cfg
-rw-r--r--  1 root root  1807342 Apr 14 11:16 get-pip.py
drwxr-xr-x  3 root root       78 Jun  4 22:49 aws
-rw-r--r--  1 root root 32945325 Jun  5 13:55 awscliv2.zip
[root@anurag ~]#
[root@anurag ~]#
[root@anurag ~]# ./aws/install
You can now run: /usr/local/bin/aws --version
[root@anurag ~]#
[root@anurag ~]#
[root@anurag ~]#
[root@anurag ~]# which aws
/usr/local/bin/aws
[root@anurag ~]#
[root@anurag ~]#


[root@anurag ~]# aws --version
aws-cli/2.0.19 Python/3.7.3 Linux/4.18.0-80.4.2.el8_0.x86_64 botocore/2.0.0dev23
[root@anurag ~]#


https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html

3 comments:

About the Author : Anurag Pandey | Database cloud Architect | Oracle | SQL Server | PostgreSQL | AI and Data Platform Enthusiast

Anurag Pandey is a Database Architect with expertise in Oracle, PostgreSQL, SQL Server, Linux, and enterprise database platforms and specializes in database architecture, performance tuning, high availability, disaster recovery, cloud modernization, and operational excellence. With extensive experience in enterprise-scale environments, Anurag is passionate about leveraging AI, automation, and modern data platforms to improve reliability, scalability, and business outcomes. He actively contributes to technical communities through knowledge sharing, architecture guidance, and thought leadership in database and data engineering domains.

Follow more articles at

Visit Blog

Oracle 19c to PostgreSQL 15 Migration: Step-by-Step Production Guide (Ora2Pg + DMS)

Production-oriented migration approach for a complex Oracle 19c to PostgreSQL 15 workload , covering assessment, schema and code conversion,...