How To Install ruby-otr-activerecord on Kali Linux
Introduction
In this tutorial we learn how to install ruby-otr-activerecord on Kali Linux.
What is ruby-otr-activerecord
ruby-otr-activerecord is:
An easy way to use ActiveRecord “off the rails.” Works with Grape, Sinatra, plain old Rack, or even in a boring little script!
The defaults are all very Railsy (config/database.yml, db/seeds.rb, db/migrate, etc.), but you can easily change them.
Formerly known as grape-activerecord.
There are three methods to install ruby-otr-activerecord 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-otr-activerecord Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ruby-otr-activerecord using apt-get by running the following command:
sudo apt-get -y install ruby-otr-activerecordInstall ruby-otr-activerecord Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-otr-activerecord using apt by running the following command:
sudo apt -y install ruby-otr-activerecordInstall ruby-otr-activerecord 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-otr-activerecord using aptitude by running the following command:
sudo aptitude -y install ruby-otr-activerecordHow To Uninstall ruby-otr-activerecord on Kali Linux
To uninstall only the ruby-otr-activerecord package we can use the following command:
sudo apt-get remove ruby-otr-activerecordUninstall ruby-otr-activerecord And Its Dependencies
To uninstall ruby-otr-activerecord and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-otr-activerecordRemove ruby-otr-activerecord Configurations and Data
To remove ruby-otr-activerecord configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-otr-activerecordRemove ruby-otr-activerecord configuration, data, and all of its dependencies
We can use the following command to remove ruby-otr-activerecord configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-otr-activerecordDependencies
ruby-otr-activerecord have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-otr-activerecord package on Kali Linux using different package management tools: apt, apt-get and aptitude.