How To Install ruby-numru-misc on Kali Linux

In this tutorial we learn how to install ruby-numru-misc on Kali Linux. ruby-numru-misc is Miscellaneous functions and classes to help Ruby programming

Introduction

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

What is ruby-numru-misc

ruby-numru-misc is:

The module “NumRu::Misc” provides miscellaneous functions and classes to facilitate programming for Ruby.

  • NumRu::Misc::KeywordOpt A class to facilitate optional keyword arguments. More specifically, it helps the use of a Hash to mimic the keyword argument system. With this, you can set default values and description to each keyword argument.
  • NArray Enhanchement
  • NumRu::Misc::MD_Iterators A Mixin. To be included in a class with multi-dimension indexing support (such as NArray).
  • NumRu::Misc::EMath To be included instead of the Math predefined module (or NMath in NArray). Unlike Math and NMath, EMath handles unknown classes by calling its native instance method (assuming the same name).

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

sudo apt-get -y install ruby-numru-misc

Install ruby-numru-misc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-numru-misc

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

sudo aptitude -y install ruby-numru-misc

How To Uninstall ruby-numru-misc on Kali Linux

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

sudo apt-get remove ruby-numru-misc

Uninstall ruby-numru-misc And Its Dependencies

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

sudo apt-get -y autoremove ruby-numru-misc

Remove ruby-numru-misc Configurations and Data

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

sudo apt-get -y purge ruby-numru-misc

Remove ruby-numru-misc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ruby-numru-misc

Dependencies

ruby-numru-misc have the following dependencies:

References

Summary

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