Open / view .chm file under Linux or FreeBSD

Posted on in Categories , , , , , last updated January 22, 2007

Chm file is a Microsoft Compressed HTML Help file in a proprietary format for online help files. Under Linux/FreeBSD or UNIX you can open .chm file using following three different programs which makes it possible to browse native Windows CHM files:

Install chm viewer

Use apt-get or yum command to install chm viewer:
# apt-get install gnochm
OR
# apt-get install kchmviewer

Gnome Desktop User

Use gnochm program as follows
$ gnochm file.chm

KDE Desktop User

Use kchmviewer (very nice and highly recommended) program as follows
$ kchmviewer file.chm

Other tool

xchm program is quite outdated but works:
$ xchm file.chm

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

23 comment

  1. i installed kchmviewer and it works fine but i prefer konqueror …i tried to open .chm from within the konqueror but it opens it with kchmviewer … i tried right click and open with other application=konqueror ..still it forces it to open with kchviewer …. i actually like the konqueror fonts… please some one ..help..

  2. I installed Gnochm. The layout is excellent unlike xCHM where the main content is squished to the right of the panel. Unfortunately Gnochm crashes & closes after viewing about 10 pages, or sometimes when choosing a Chapter from the left plane.
    Any solutions?

Leave a Comment