aws · cloud · linux · power · ppc64le · python

cloud: aws cli on ppc64le

Do you work with AWS? Do you work with IBM Power? Do you need to work with AWS from IBM Power? He is how you can build and install the CLI on ppc64le.

First things first: get a Power VM for FREE at Minicloud. Once you have you VM up and running you can start preparing the build environment (this example is based on Ubuntu 20.04):

step 0: update and upgrade

sudo apt-get update; sudo apt-get upgrade -y

step 1: install python3 and pip

sudo apt-get install -y python3 python3-pip

step 2: clone the source and checkout the latest tag

git clone https://github.com/aws/aws-cli.git; git checkout tags/1.10.16

step3: build it

python3 ./setup.py sdist

step4: install it

sudo pip3 install --upgrade ./dist/*.tar.gz

step 5: use it 🙂

ubuntu@aws-cli:~/aws-cli$ aws help

AWS()                                                                    AWS()



NAME
       aws -

DESCRIPTION
       The  AWS  Command  Line  Interface is a unified tool to manage your AWS
       services.

SYNOPSIS
          aws [options] <command> <subcommand> [parameters]

       Use aws command help for information on a  specific  command.  Use  aws
       help  topics  to view a list of available help topics. The synopsis for
       each command shows its parameters and their usage. Optional  parameters
       are shown in square brackets.

If you do not have time to build it, just use:

pip3 install awscli --upgrade --user



Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s