How To Install ruby-activestorage on Kali Linux

In this tutorial we learn how to install ruby-activestorage on Kali Linux. ruby-activestorage is local and cloud file storage framework (part of Rails)

Introduction

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

What is ruby-activestorage

ruby-activestorage is:

Active Storage makes it simple to upload and reference files in cloud services like Amazon S3 and Microsoft Azure Storage, and attach those files to Active Records. Supports having one main service and mirrors in other services for redundancy. It also provides a disk service for testing or local deployments, but the focus is on cloud storage.

Files can be uploaded from the server to the cloud or directly from the client to the cloud.

Image files can furthermore be transformed using on-demand variants for quality, aspect ratio, size, or any other MiniMagick supported transformation.

There are three methods to install ruby-activestorage 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-activestorage 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-activestorage using apt-get by running the following command:

sudo apt-get -y install ruby-activestorage

Install ruby-activestorage Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-activestorage

Install ruby-activestorage 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-activestorage using aptitude by running the following command:

sudo aptitude -y install ruby-activestorage

How To Uninstall ruby-activestorage on Kali Linux

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

sudo apt-get remove ruby-activestorage

Uninstall ruby-activestorage And Its Dependencies

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

sudo apt-get -y autoremove ruby-activestorage

Remove ruby-activestorage Configurations and Data

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

sudo apt-get -y purge ruby-activestorage

Remove ruby-activestorage configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ruby-activestorage

Dependencies

ruby-activestorage have the following dependencies:

References

Summary

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