How To Install ruby-aes-key-wrap on Debian 12
Introduction
In this tutorial we learn how to install ruby-aes-key-wrap on Debian 12.
What is ruby-aes-key-wrap
ruby-aes-key-wrap is:
AES Key Wrap is also known as RFC 3394, or NIST Key Wrap.
This library is a dependency of ruby-json-jwt, which provide JSON Web Token support.
There are three methods to install ruby-aes-key-wrap 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-aes-key-wrap 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-aes-key-wrap using apt-get by running the following command:
sudo apt-get -y install ruby-aes-key-wrap
Install ruby-aes-key-wrap Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install ruby-aes-key-wrap using apt by running the following command:
sudo apt -y install ruby-aes-key-wrap
Install ruby-aes-key-wrap 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-aes-key-wrap using aptitude by running the following command:
sudo aptitude -y install ruby-aes-key-wrap
How To Uninstall ruby-aes-key-wrap on Debian 12
To uninstall only the ruby-aes-key-wrap package we can use the following command:
sudo apt-get remove ruby-aes-key-wrap
Uninstall ruby-aes-key-wrap And Its Dependencies
To uninstall ruby-aes-key-wrap and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove ruby-aes-key-wrap
Remove ruby-aes-key-wrap Configurations and Data
To remove ruby-aes-key-wrap configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge ruby-aes-key-wrap
Remove ruby-aes-key-wrap configuration, data, and all of its dependencies
We can use the following command to remove ruby-aes-key-wrap configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-aes-key-wrap
Dependencies
ruby-aes-key-wrap have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-aes-key-wrap package on Debian 12 using different package management tools: apt, apt-get and aptitude.