How To Install ruby-aws-sdk-kms on Debian 12

Learn how to install ruby-aws-sdk-kms on Debian 12 with this tutorial. ruby-aws-sdk-kms is AWS SDK for Ruby - KMS

Introduction

In this tutorial we learn how to install ruby-aws-sdk-kms on Debian 12.

What is ruby-aws-sdk-kms

ruby-aws-sdk-kms is:

aws-sdk-kms is an official KMS for AWS SDK for Ruby. It basically provides Key Management Service (KMS).

This gem is part of the AWS SDK for Ruby.

There are three methods to install ruby-aws-sdk-kms on Debian 12. 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-kms 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-kms using apt-get by running the following command:

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

Install ruby-aws-sdk-kms Using apt

Update apt database with apt using the following command.

sudo apt update

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

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

Install ruby-aws-sdk-kms Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install ruby-aws-sdk-kms

How To Uninstall ruby-aws-sdk-kms on Debian 12

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

sudo apt-get remove ruby-aws-sdk-kms

Uninstall ruby-aws-sdk-kms And Its Dependencies

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

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

Remove ruby-aws-sdk-kms Configurations and Data

To remove ruby-aws-sdk-kms configuration and data from Debian 12 we can use the following command:

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

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

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

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

Dependencies

ruby-aws-sdk-kms have the following dependencies:

References

Summary

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