How To Install libhz-dev on Kali Linux
Introduction
In this tutorial we learn how to install libhz-dev on Kali Linux.
What is libhz-dev
libhz-dev is:
AutoConvert is an intelligent Chinese Encoding converter. It uses builtin functions to judge the type of the input file??s Chinese Encoding (such as GB/Big5/HZ), then converts the input file to any type of Chinese Encoding you want. You can use autoconvert to handle incoming mail, automatically converting messages to the Chinese Encoding you want. It can alse handle Unicode (UTF-16)/UTF-7/UTF-8 now.
This package contains the development files (symlinks, headers, and object files) needed to compile and link programs which use the zh-autoconvert libhz library.
There are three methods to install libhz-dev 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 libhz-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libhz-dev using apt-get by running the following command:
sudo apt-get -y install libhz-devInstall libhz-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libhz-dev using apt by running the following command:
sudo apt -y install libhz-devInstall libhz-dev 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 libhz-dev using aptitude by running the following command:
sudo aptitude -y install libhz-devHow To Uninstall libhz-dev on Kali Linux
To uninstall only the libhz-dev package we can use the following command:
sudo apt-get remove libhz-devUninstall libhz-dev And Its Dependencies
To uninstall libhz-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libhz-devRemove libhz-dev Configurations and Data
To remove libhz-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libhz-devRemove libhz-dev configuration, data, and all of its dependencies
We can use the following command to remove libhz-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libhz-devDependencies
libhz-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libhz-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.