How To Install ruby-arel on Kali Linux
Introduction
In this tutorial we learn how to install ruby-arel on Kali Linux.
What is ruby-arel
ruby-arel is:
Arel is a SQL AST manager for Ruby. It simplifies the generation of complex SQL queries and adapts to various RDBMS systems.
It is intended to be a framework; that is, you can build your own ORM with it, focusing on innovative object and collection modeling as opposed to database compatibility and query generation.
There are three methods to install ruby-arel 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-arel Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ruby-arel using apt-get by running the following command:
sudo apt-get -y install ruby-arelInstall ruby-arel Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-arel using apt by running the following command:
sudo apt -y install ruby-arelInstall ruby-arel 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 updateAfter updating apt database, We can install ruby-arel using aptitude by running the following command:
sudo aptitude -y install ruby-arelHow To Uninstall ruby-arel on Kali Linux
To uninstall only the ruby-arel package we can use the following command:
sudo apt-get remove ruby-arelUninstall ruby-arel And Its Dependencies
To uninstall ruby-arel and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-arelRemove ruby-arel Configurations and Data
To remove ruby-arel configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-arelRemove ruby-arel configuration, data, and all of its dependencies
We can use the following command to remove ruby-arel configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-arelDependencies
ruby-arel have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-arel package on Kali Linux using different package management tools: apt, apt-get and aptitude.