How To Install ruby-aws-sdk on Kali Linux

In this tutorial we learn how to install ruby-aws-sdk on Kali Linux. ruby-aws-sdk is Amazon Web Services SDK for Ruby

Introduction

In this tutorial we learn how to install ruby-aws-sdk on Kali Linux.

What is ruby-aws-sdk

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.

There are three methods to install ruby-aws-sdk on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ruby-aws-sdk Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ruby-aws-sdk using apt-get by running the following command:

sudo apt-get -y install ruby-aws-sdk

Install ruby-aws-sdk Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ruby-aws-sdk using apt by running the following command:

sudo apt -y install ruby-aws-sdk

Install ruby-aws-sdk Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ruby-aws-sdk using aptitude by running the following command:

sudo aptitude -y install ruby-aws-sdk

How To Uninstall ruby-aws-sdk on Kali Linux

To uninstall only the ruby-aws-sdk package we can use the following command:

sudo apt-get remove ruby-aws-sdk

Uninstall ruby-aws-sdk And Its Dependencies

To uninstall ruby-aws-sdk and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove ruby-aws-sdk

Remove ruby-aws-sdk Configurations and Data

To remove ruby-aws-sdk configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge ruby-aws-sdk

Remove ruby-aws-sdk configuration, data, and all of its dependencies

We can use the following command to remove ruby-aws-sdk configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ruby-aws-sdk

Dependencies

ruby-aws-sdk have the following dependencies:

References

Summary

In this tutorial we learn how to install ruby-aws-sdk package on Kali Linux using different package management tools: apt, apt-get and aptitude.