aws-rb command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
aws-rb: command not found
or when using sudo you get the following error message
sudo: aws-rb: command not found
Solutions to aws-rb: command not found
How To Fix aws-rb: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu aws-rb is provided by ruby-aws-sdk package.
ruby-aws-sdk is:
The AWS SDK for Ruby provides a Ruby API for AWS infrastructure services. The SDK helps take the complexity out of coding by providing Ruby classes for many AWS services including Amazon S3, Amazon EC2, DynamoDB, and more.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-aws-sdk
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-aws-sdk.
sudo apt -y install ruby-aws-sdk
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-aws-sdk
Summary
In this tutorial we learn how to fix aws-rb command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.