Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

304
Views
How to install awscli version 2 on raspberry pi

sudo apt install awscli installs currently version 1.16.113-1

The official website (https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html) supports aarch64 but not armhf. Is there another way or something that I am missing. The differences between v1 and v2 are not that big but for example v1 does not support --storage-class DEEP_ARCHIVE

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Got this to work on a Raspberry Pi 2 by checking out and installing directly from the awscli v2 branch on github.

You'll need to run a modern python (3.6+?), so the whole procedure is isolated in its own venv so as not to mess up system python.

Based roughly on these directions https://github.com/aws/aws-cli/tree/v2#cli-dev-version we get:

$ git clone https://github.com/aws/aws-cli.git
$ cd aws-cli && git checkout v2
$ pip3 install -r requirements.txt
$ pip3 install .

$ aws --version
aws-cli/2.1.14 Python/3.9.1 Linux/4.19.66+ source/armv6l.raspbian.9 prompt/off
over 4 years ago · Santiago Trujillo Report

0

You can install this now from an official download here: https://aws.amazon.com/blogs/developer/aws-cli-v2-now-available-for-linux-arm/

over 4 years ago · Santiago Trujillo Report

0

aws cli v2 is still not available in the Python Package Index(PyPI) repository. I have passed the instruciton below for "How to install aws cli v2"

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

how to configure aws cli v2 command line completion permanently

complete -C '/usr/local/bin/aws_completer' aws
echo "complete -C '/usr/local/bin/aws_completer' aws" >>  ~/.bashrc 
source ~/.bashrc  

now you can check by typing any partial command and press the tab key aws s<TAB>

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!