How To Install ruby-roxml on Kali Linux
Introduction
In this tutorial we learn how to install ruby-roxml on Kali Linux.
What is ruby-roxml
ruby-roxml is:
ROXML is a Ruby library designed to make it easier for Ruby developers to work with XML. Using simple annotations, it enables Ruby classes to be mapped to XML. ROXML takes care of the marshalling and unmarshalling of mapped attributes so that developers can focus on building first-class Ruby classes. As a result, ROXML simplifies the development of RESTful applications, Web Services, and XML-RPC.
There are three methods to install ruby-roxml 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-roxml Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ruby-roxml using apt-get by running the following command:
sudo apt-get -y install ruby-roxmlInstall ruby-roxml Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-roxml using apt by running the following command:
sudo apt -y install ruby-roxmlInstall ruby-roxml 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-roxml using aptitude by running the following command:
sudo aptitude -y install ruby-roxmlHow To Uninstall ruby-roxml on Kali Linux
To uninstall only the ruby-roxml package we can use the following command:
sudo apt-get remove ruby-roxmlUninstall ruby-roxml And Its Dependencies
To uninstall ruby-roxml and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-roxmlRemove ruby-roxml Configurations and Data
To remove ruby-roxml configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-roxmlRemove ruby-roxml configuration, data, and all of its dependencies
We can use the following command to remove ruby-roxml configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-roxmlDependencies
ruby-roxml have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-roxml package on Kali Linux using different package management tools: apt, apt-get and aptitude.