How To Install kchmviewer on Debian 9

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

Introduction

In this tutorial we learn how to install kchmviewer on Debian 9.

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 Debian 9. 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 first since aptitude is usually not installed by default on Debian. 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 Debian 9

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 Debian 9, we can use the command below:

sudo apt-get -y autoremove kchmviewer

Remove kchmviewer Configurations and Data

To remove kchmviewer configuration and data from Debian 9 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 Debian 9 using different package management tools: apt, apt-get and aptitude.