≡ Menu

Open / view .chm file under Linux or FreeBSD

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

Share this tutorial on:

Your support makes a big difference:
I have a small favor to ask. More people are reading the nixCraft. Many of you block advertising which is your right, and advertising revenues are not sufficient to cover my operating costs. So you can see why I need to ask for your help. The nixCraft, takes a lot of my time and hard work to produce. If you use nixCraft, who likes it, helps me with donations:
Become a Supporter →    Make a contribution via Paypal/Bitcoin →   

Don't Miss Any Linux and Unix Tips

Get nixCraft in your inbox. It's free:



{ 23 comments… add one }
  • Deepak March 23, 2006, 2:58 am

    If you have KDE installed Open the file with Konqueror and naviagate from within.

  • asdf July 3, 2007, 4:52 am

    Or you could just use xchm

    $sudo apt-get install xchm

  • nidhi November 29, 2007, 12:23 pm

    i used konquerer it worked fine thanks

  • sun March 9, 2008, 10:19 pm

    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..

  • s April 30, 2008, 11:47 pm

    Currently gnochm doesn’t allow you to do in-page search and change fonts. xchm is better.

  • prabu May 19, 2008, 4:21 am

    Really Good . Excellent

  • Abhishek May 21, 2008, 2:17 pm

    Thanks!

  • himadri June 18, 2008, 9:22 am

    Thanks for the help /. Konquerer works .. so does kchmviewer …

  • Irudayaraj August 2, 2008, 3:36 pm

    it very much useful.

    thank you.

  • Mad Big Dave October 8, 2008, 5:32 pm

    and where are the repositories for the kchmviewer? I ran the update commands and it didn’t find the install packages.

  • Pankaj April 9, 2009, 3:59 am

    thanx ….

  • Ziegfried May 11, 2009, 1:30 pm

    Thanks a lot! You saved my day!

  • WC July 7, 2009, 10:27 pm

    Thanks!

  • alpha.scot July 11, 2009, 5:30 am

    THANK YOU VERY MUCH

  • macca September 6, 2009, 8:57 am

    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?

    • Sunny September 22, 2010, 11:07 am

      Take the code, debug it and fix it. :-)

  • shashi September 25, 2010, 3:48 am

    thanx
    The xchm one worked……..

  • Govindarajan October 31, 2010, 4:09 am

    gnochm crashes due to segmentation fault everytime. So i Uninstalled it. You can use chmsee or others mentioned above.

  • SENGO HASSAN December 14, 2010, 6:59 pm

    Thanks you save my status

  • magnus January 7, 2011, 3:23 am

    thanks u very much…

  • Landis January 26, 2012, 11:08 pm

    does not work. could be that ubuntu 11.10 wont us it.
    thanks though.
    Landis.

  • Landis January 26, 2012, 11:10 pm

    under KDE (openSuSE), I use and love okular!
    Landis

  • David May 25, 2013, 3:58 pm

    Am using kchmviewer and it works fine.

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: