aws command not found
In this troubleshooting guide we learn how to fix aws command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
aws: command not found
or when using sudo you get the following error message
sudo: aws: command not found
Solutions to aws: command not found
How To Fix aws: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu aws is provided by awscli package.
awscli is:
This package provides a unified command line interface to many Amazon Web Services.
A partial listing of these services is:
- AWS CloudFormation
- AWS Data Pipeline
- AWS Direct Connect
- Amazon DynamoDB
- AWS Elastic Beanstalk
- AWS Elemental MediaConvert
- AWS Identity and Access Management
- AWS Import/Export
- AWS OpsWorks
- AWS Security Token Service
- AWS Storage Gateway
- Amazon CloudFront
- Amazon CloudWatch
- Amazon ElastiCache
- Amazon Elastic Compute Cloud
- Amazon Elastic Container Registry
- Amazon Elastic Container Service
- Amazon Elastic Kubernetes Service
- Amazon Elastic MapReduce
- Amazon Redshift
- Amazon Relational Database Service
- Amazon Route 53
- Amazon Simple Email Service
- Amazon Simple Notification Service
- Amazon Simple Queue Service
- Amazon Simple Storage Service
- Amazon Simple Workflow Service
- Auto Scaling
- Elastic Load Balancing
To fix this problem, we can install more using the command below.
sudo apt-get -y install awscli
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install awscli.
sudo apt -y install awscli
Or if you have aptitude installed you can use the following command.
sudo aptitude install awscli
Summary
In this tutorial we learn how to fix aws command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.