How To Install utf8gen on Kali Linux
Introduction
In this tutorial we learn how to install utf8gen on Kali Linux.
What is utf8gen
utf8gen is:
The utf8gen package contains one program, utf8gen, which reads hexadecimal numbers interpreted as Unicode code points and produces formatted output. The numbers are provided one per line. Each number is optionally followed by a space plus miscellaneous text.
The output is specified by providing printf(3)-style format strings on the command line. This provides the flexibility to print UTF-8 byte values in any desired base, echo the input value formatted as a comment for any desired programming language, or even to provide HTML-like table entries. Optional miscellaneous text on each input line can be copied to the output.
There are three methods to install utf8gen 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 utf8gen Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install utf8gen using apt-get by running the following command:
sudo apt-get -y install utf8genInstall utf8gen Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install utf8gen using apt by running the following command:
sudo apt -y install utf8genInstall utf8gen 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 utf8gen using aptitude by running the following command:
sudo aptitude -y install utf8genHow To Uninstall utf8gen on Kali Linux
To uninstall only the utf8gen package we can use the following command:
sudo apt-get remove utf8genUninstall utf8gen And Its Dependencies
To uninstall utf8gen and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove utf8genRemove utf8gen Configurations and Data
To remove utf8gen configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge utf8genRemove utf8gen configuration, data, and all of its dependencies
We can use the following command to remove utf8gen configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge utf8genDependencies
utf8gen have the following dependencies:
References
Summary
In this tutorial we learn how to install utf8gen package on Kali Linux using different package management tools: apt, apt-get and aptitude.