extract_chmLib command not found

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

Introduction

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

extract_chmLib: command not found

or when using sudo you get the following error message

sudo: extract_chmLib: command not found

Solutions to extract_chmLib: command not found

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

In Ubuntu extract_chmLib is provided by libchm-bin package.

libchm-bin is:

It is a very simple library, but sufficient for dealing with all of the chm files. Library currently does not has write support.

CHM files are used on the Microsoft Windows platform to store program documentation, almost always in the form of HTML, with some non-standard quirks. CHM files are a form of archive known as InfoTech Storage Format (ITSF) files and contain some special files to implement features of the CHM viewer.

This package includes test programs.

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

sudo apt-get -y install libchm-bin

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

You can also use apt command to install libchm-bin.

sudo apt -y install libchm-bin

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

sudo aptitude install libchm-bin

Summary

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