sudo apt-get install python python-pip
sudo pip install awscli
aws configure
This will create the following configuration files in ~/.aws/ :
$ ls ~/.aws/
config credentials
This file contains the default and additional profiles you may have configured using the 3. command, modulo a few switches as explained in the documentation at Amazon, or using aws help
This file contains the configuration details per profile as configured using the 3. command as follows:
$ cat ~/.aws/config
[default]
output = json
region = eu-west-1
[backup]
output = json
region = eu-central-1
On wheezy, even with
so this instead:
sudo pip install awscli --index-url=https://pypi.python.org/simple/
It just gives:
Source in ./build/python-dateutil has the version 0.0.0, which does not match the requirement python-dateutil>=2.1,<3.0.0 (from botocore==1.17.5->awscli)
However installing it "from amazon" worked: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html