How To Install ruby-terminal-table on Kali Linux

In this tutorial we learn how to install ruby-terminal-table on Kali Linux. ruby-terminal-table is simple, feature rich ASCII table generation library

Introduction

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

What is ruby-terminal-table

ruby-terminal-table is:

This package contains a fast and simple, yet feature rich ASCII table generator written in Ruby.

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

sudo apt-get -y install ruby-terminal-table

Install ruby-terminal-table Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ruby-terminal-table

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

sudo aptitude -y install ruby-terminal-table

How To Uninstall ruby-terminal-table on Kali Linux

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

sudo apt-get remove ruby-terminal-table

Uninstall ruby-terminal-table And Its Dependencies

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

sudo apt-get -y autoremove ruby-terminal-table

Remove ruby-terminal-table Configurations and Data

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

sudo apt-get -y purge ruby-terminal-table

Remove ruby-terminal-table configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ruby-terminal-table

Dependencies

ruby-terminal-table have the following dependencies:

References

Summary

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