How To Install ruby-ice-cube on Kali Linux
Introduction
In this tutorial we learn how to install ruby-ice-cube on Kali Linux.
What is ruby-ice-cube
ruby-ice-cube is:
ice_cube is a recurring date library for Ruby. It allows for quick, programmatic expansion of recurring date rules. The API is modeled after iCalendar events, in a pleasant Ruby syntax. The power lies in the ability to specify multiple rules, and have ice_cube quickly figure out whether the schedule falls on a certain date (.occurs_on?), or what times it occurs at (.occurrences, .first, .all_occurrences).
There are three methods to install ruby-ice-cube 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-ice-cube Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ruby-ice-cube using apt-get by running the following command:
sudo apt-get -y install ruby-ice-cubeInstall ruby-ice-cube Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-ice-cube using apt by running the following command:
sudo apt -y install ruby-ice-cubeInstall ruby-ice-cube 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-ice-cube using aptitude by running the following command:
sudo aptitude -y install ruby-ice-cubeHow To Uninstall ruby-ice-cube on Kali Linux
To uninstall only the ruby-ice-cube package we can use the following command:
sudo apt-get remove ruby-ice-cubeUninstall ruby-ice-cube And Its Dependencies
To uninstall ruby-ice-cube and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-ice-cubeRemove ruby-ice-cube Configurations and Data
To remove ruby-ice-cube configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-ice-cubeRemove ruby-ice-cube configuration, data, and all of its dependencies
We can use the following command to remove ruby-ice-cube configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-ice-cubeDependencies
ruby-ice-cube have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-ice-cube package on Kali Linux using different package management tools: apt, apt-get and aptitude.