How To Install ruby-unidecode on Kali Linux
Introduction
In this tutorial we learn how to install ruby-unidecode on Kali Linux.
What is ruby-unidecode
ruby-unidecode is:
unidecode is a Ruby library for transliterating converting UTF-8 strings to plain ASCII representations.
This gem is a Ruby port of Perl library Text::Unidecode. The same caveats, notes, and constraints listed there apply here though the Ruby implementation here is slightly different, specifically the addition of String#to_ascii.
There are three methods to install ruby-unidecode 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-unidecode Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ruby-unidecode using apt-get by running the following command:
sudo apt-get -y install ruby-unidecodeInstall ruby-unidecode Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-unidecode using apt by running the following command:
sudo apt -y install ruby-unidecodeInstall ruby-unidecode 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-unidecode using aptitude by running the following command:
sudo aptitude -y install ruby-unidecodeHow To Uninstall ruby-unidecode on Kali Linux
To uninstall only the ruby-unidecode package we can use the following command:
sudo apt-get remove ruby-unidecodeUninstall ruby-unidecode And Its Dependencies
To uninstall ruby-unidecode and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-unidecodeRemove ruby-unidecode Configurations and Data
To remove ruby-unidecode configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-unidecodeRemove ruby-unidecode configuration, data, and all of its dependencies
We can use the following command to remove ruby-unidecode configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-unidecodeDependencies
ruby-unidecode have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-unidecode package on Kali Linux using different package management tools: apt, apt-get and aptitude.