How To Install ruby-activejob on Kali Linux

In this tutorial we learn how to install ruby-activejob on Kali Linux. ruby-activejob is job framework with pluggable queues (part of Rails)

Introduction

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

What is ruby-activejob

ruby-activejob is:

Active Job is a framework for declaring jobs and making them run on a variety of queueing backends. These jobs can be everything from regularly scheduled clean-ups, to billing charges, to mailings. Anything that can be chopped up into small units of work and run in parallel.

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

sudo apt-get -y install ruby-activejob

Install ruby-activejob Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-activejob

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

sudo aptitude -y install ruby-activejob

How To Uninstall ruby-activejob on Kali Linux

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

sudo apt-get remove ruby-activejob

Uninstall ruby-activejob And Its Dependencies

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

sudo apt-get -y autoremove ruby-activejob

Remove ruby-activejob Configurations and Data

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

sudo apt-get -y purge ruby-activejob

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

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

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

Dependencies

ruby-activejob have the following dependencies:

References

Summary

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