How To Install ruby-paper-trail on Kali Linux
Introduction
In this tutorial we learn how to install ruby-paper-trail
on Kali Linux.
What is ruby-paper-trail
ruby-paper-trail is:
Track changes to your models, for auditing or versioning. See how a model looked at any stage in its lifecycle, revert it to any version, or restore it after it has been destroyed.
PaperTrail stores the pre-change version of the model, unlike some other auditing/versioning plugins, so you can retrieve the original version. This is useful when you start keeping a paper trail for models that already have records in the database.
There are three methods to install ruby-paper-trail
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-paper-trail 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-paper-trail
using apt-get
by running the following command:
sudo apt-get -y install ruby-paper-trail
Install ruby-paper-trail Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-paper-trail
using apt
by running the following command:
sudo apt -y install ruby-paper-trail
Install ruby-paper-trail 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-paper-trail
using aptitude
by running the following command:
sudo aptitude -y install ruby-paper-trail
How To Uninstall ruby-paper-trail on Kali Linux
To uninstall only the ruby-paper-trail
package we can use the following command:
sudo apt-get remove ruby-paper-trail
Uninstall ruby-paper-trail And Its Dependencies
To uninstall ruby-paper-trail
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-paper-trail
Remove ruby-paper-trail Configurations and Data
To remove ruby-paper-trail
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-paper-trail
Remove ruby-paper-trail configuration, data, and all of its dependencies
We can use the following command to remove ruby-paper-trail
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-paper-trail
Dependencies
ruby-paper-trail have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-paper-trail
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.