1 Answer
- Newest
- Most votes
- Most comments
0
Try adding --update
to the install command.
If that fails, delete the /usr/local/aws-cli
directory. Then rerun sudo aws/install
.
Relevant content
- asked 6 months ago
- asked 10 months ago
- asked 7 months ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 5 months ago
still the same problem sudo aws/install --update result: Found same AWS CLI version: /usr/local/aws-cli/v2/2.11.21. Skipping install.
thanks for your response, here the steps I did: In fact, what made me think that the installation didn't work was that when I did the command "$ aws --version", it did not work. So I redid "sudo ./aws/install" (and got the result that I sent you in my scrrenshot) ==> But I understood that the installation was OK (since I have usr/local/aws-cli/v2/2.11.21, what I did was focus on resolving the problem of "aws --version." Below, the steps: $ aws --version
$sudo apt install awscli
Solution (I did a search on the net, and according to this link : https://unix.stackexchange.com/questions/561236/how-to-install-awscli-on-ubuntu-18-04) $sudo apt-get update $sudo apt-get install awscli It took me a lot of time (particularly for the second command), but it is Ok now when I do: $ aws --version
OK. Just know that you have V1 of the CLI instead of V2. Both are being maintained, but you will want to make sure if you consult the reference manual, you look at V1.
OK, thanks for the information.