How To Install ruby-aws-sdk on Kali Linux
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 updateAfter updating apt database, We can install ruby-aws-sdk using apt-get by running the following command:
sudo apt-get -y install ruby-aws-sdkInstall ruby-aws-sdk Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-aws-sdk using apt by running the following command:
sudo apt -y install ruby-aws-sdkInstall 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 updateAfter updating apt database, We can install ruby-aws-sdk using aptitude by running the following command:
sudo aptitude -y install ruby-aws-sdkHow 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-sdkUninstall 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-sdkRemove 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-sdkRemove 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-sdkDependencies
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.