AWS Command Line Interface (CLI) is a set of tools written on Python and is officially distributed by AWS as a pip package. You can install AWS CLI on Ubuntu without installing pip because AWS CLI has been re-packaged and distributed in Ubuntu's default package repository.
AWS CLI tools can be installed on Ubuntu using apt from the terminal.
Steps to install AWS CLI tools on Ubuntu:
- Launch your preferred terminal application.
- Update apt's package list.
$ sudo apt update [sudo] password for user: Get:1 http://security.ubuntu.com/ubuntu impish-security InRelease [103 kB] Hit:2 http://archive.ubuntu.com/ubuntu impish InRelease Get:3 http://archive.ubuntu.com/ubuntu impish-updates InRelease [109 kB] Hit:4 http://archive.ubuntu.com/ubuntu impish-backports InRelease Get:5 http://security.ubuntu.com/ubuntu impish-security/main amd64 DEP-11 Metadata [4,680 B] Get:6 http://archive.ubuntu.com/ubuntu impish-updates/main amd64 DEP-11 Metadata [14.3 kB] Get:7 http://archive.ubuntu.com/ubuntu impish-updates/universe amd64 DEP-11 Metadata [2,004 B] Fetched 233 kB in 1s (178 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date.
- Install awscli package using apt.
$ sudo apt install --assume-yes awscli Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: docutils-common groff gsfonts imagemagick imagemagick-6-common imagemagick-6.q16 libde265-0 libheif1 libilmbase25 libjxr-tools libjxr0 liblqr-1-0 libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libnetpbm10 libopenexr25 netpbm psutils python3-botocore python3-docutils python3-jmespath python3-pyasn1 python3-pygments python3-roman python3-rsa python3-s3transfer ### snipped ###
- Configure AWS CLI tool to start managing your AWS infrastructure.
Related: How to configure AWS CLI tool
Author: Mohd
Shakir Zakaria
Mohd Shakir Zakaria is an experienced cloud architect with a strong development and open-source advocacy background. He boasts multiple certifications in AWS, Red Hat, VMware, ITIL, and Linux, underscoring his expertise in cloud architecture and system administration.
Mohd Shakir Zakaria is an experienced cloud architect with a strong development and open-source advocacy background. He boasts multiple certifications in AWS, Red Hat, VMware, ITIL, and Linux, underscoring his expertise in cloud architecture and system administration.
Discuss the article:
Comment anonymously. Login not required.