How to install latest awscli using yum on CentOS 7?

Viewed 3082

I installed on CentOS 7 awscli using this command:

yum install awscli

But it turned out that it is old version of awscli:

awscli.noarch             1.14.28-5.el7_5.1

How could I update or install using yum on CentOS 7 to get awscli 1.18?

1 Answers

AWS documentation here clearly mentions as below. Looks like it is not recommended to use the yum appraoch.

Although the awscli package is available in repositories for other package managers such as apt and yum, these are not produced, managed, or supported by AWS. We recommend that you install the AWS CLI from only the official AWS distribution points, as documented in this guide.

Related