kchmviewer command not found

In this troubleshooting guide we learn how to fix kchmviewer command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

kchmviewer: command not found

or when using sudo you get the following error message

sudo: kchmviewer: command not found

Solutions to kchmviewer: command not found

How To Fix kchmviewer: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu kchmviewer is provided by kchmviewer package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install kchmviewer

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install kchmviewer.

sudo apt -y install kchmviewer

Or if you have aptitude installed you can use the following command.

sudo aptitude install kchmviewer

Summary

In this tutorial we learn how to fix kchmviewer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.