How To Install kchmviewer on Kali Linux

In this tutorial we learn how to install kchmviewer on Kali Linux. kchmviewer is CHM viewer for KDE

Introduction

In this tutorial we learn how to install kchmviewer on Kali Linux.

What is kchmviewer

kchmviewer is:

KchmViewer is a chm (MS HTML help file format) viewer, written in C++. Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget library, and does not depend on KDE or GNOME. However, it may be compiled with full KDE support, including KDE widgets and KIO/KHTML.

The main advantage of KchmViewer is non-English language support. Unlike others, KchmViewer in most cases correctly detects help file encoding, correctly shows tables of context of Russian, Korean, Chinese and Japanese help files, and correctly searches in non-English help files (search for MBCS languages - ja/ko/ch is still in progress).

Completely safe and harmless. Does not support JavaScript in any way, optionally warns you before opening an external web page, or switching to another help file. Shows an appropriate image for every TOC entry.

KchmViewer Has complete chm index support, including multiple index entries, cross-links and parent/child entries in index as well as Persistent bookmarks support. Correctly detects and shows encoding of any valid chm file.

There are three methods to install kchmviewer 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 kchmviewer Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install kchmviewer using apt-get by running the following command:

sudo apt-get -y install kchmviewer

Install kchmviewer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install kchmviewer using apt by running the following command:

sudo apt -y install kchmviewer

Install kchmviewer 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 update

After updating apt database, We can install kchmviewer using aptitude by running the following command:

sudo aptitude -y install kchmviewer

How To Uninstall kchmviewer on Kali Linux

To uninstall only the kchmviewer package we can use the following command:

sudo apt-get remove kchmviewer

Uninstall kchmviewer And Its Dependencies

To uninstall kchmviewer and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove kchmviewer

Remove kchmviewer Configurations and Data

To remove kchmviewer configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge kchmviewer

Remove kchmviewer configuration, data, and all of its dependencies

We can use the following command to remove kchmviewer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge kchmviewer

Dependencies

kchmviewer have the following dependencies:

References

Summary

In this tutorial we learn how to install kchmviewer package on Kali Linux using different package management tools: apt, apt-get and aptitude.