AWS command line interface (CLI) tools are based on Python and is made available in pip by AWS. Ubuntu has then created package for the AWS CLI tool and is now installable via apt.

You can easily install AWS CLI on Ubuntu with these below steps without having to manually install pip and all the dependencies:

  1. Update apt's package list.
    $ sudo apt update
  2. Install awscli package.
    $ sudo apt install --assume-yes awscli
    [sudo] password for user:
    ### snipped ###
    The following NEW packages will be installed:
      awscli docutils-common libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libpaper-utils libpaper1 libtiff5 libwebp6 libwebpdemux2 libwebpmux3 python3-botocore python3-dateutil python3-docutils
      python3-jmespath python3-olefile python3-pil python3-pygments python3-roman python3-rsa python3-s3transfer sgml-base xml-core
    ### snipped ###
  3. Configure your AWS CLI tool to manage your AWS systems.
Leave a comment:
Share!