How To Install enca on Kali Linux
Introduction
In this tutorial we learn how to install enca on Kali Linux.
What is enca
enca is:
Enca is an Extremely Naive Charset Analyser. It detects the character set and the encoding of text files and can also convert them to other encodings using either a built-in converter or external libraries and tools like libiconv, librecode, or cstocs.
Currently it supports Belarusian, Bulgarian, Croatian, Czech, Estonian, Hungarian, Latvian, Lithuanian, Polish, Russian, Slovak, Slovene, Ukrainian, Chinese, and some multibyte encodings independently on language.
There are three methods to install enca 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 enca Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install enca using apt-get by running the following command:
sudo apt-get -y install encaInstall enca Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install enca using apt by running the following command:
sudo apt -y install encaInstall enca 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 enca using aptitude by running the following command:
sudo aptitude -y install encaHow To Uninstall enca on Kali Linux
To uninstall only the enca package we can use the following command:
sudo apt-get remove encaUninstall enca And Its Dependencies
To uninstall enca and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove encaRemove enca Configurations and Data
To remove enca configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge encaRemove enca configuration, data, and all of its dependencies
We can use the following command to remove enca configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge encaDependencies
enca have the following dependencies:
References
Summary
In this tutorial we learn how to install enca package on Kali Linux using different package management tools: apt, apt-get and aptitude.