81

How to view CHM files in Ubuntu?

16 Answers 16

40

chmsee is no longer available in Ubuntu, as it is no longer being maintained. Here is the announcement on the project site:

Stop maintain

ChmSee is not being developed anymore.

I haven't read CHM documents more than a year, new and update IT books are pdfs or epubs, so it's right time to end this chm viewer.


chmsee Install chmsee

alt text

https://code.google.com/p/chmsee/

sudo apt-get install chmsee
62

xChm Viewer Install xchm

Install the xChm Viewer for viewing CHM files:

sudo apt-get install xchm

enter image description here

  • The search function doesn't work for me. – user643722 Mar 29 '18 at 10:29
27
apt-cache --names-only search chm

gives several results.

  • 12
    +1 for helping people to find their own answers. But a more verbose answer, explaining the results would be better. – Javier Rivera Oct 19 '10 at 8:26
11

kchmViewer Install kchmviewer

The main advantage of kchmviewer is the best support for non-English languages. Unlike other viewers, kchmviewer in most cases is able to correctly detect the chm file encoding and show it. It correctly shows the index and table of context in Russian, Spanish, Romanian, Korean, Chinese and Arabic help files, and with new search engine is able to search in any chm file no matter what language it is written.

kchmviewer

  • This worked for me while the others didn't. – xji Aug 17 '18 at 10:06
8

Use browser extensions

What could be better than a web-browser to view web-pages?

CHMFox is an excellent CHM file reader. It is much better than all the third party programs that others are suggesting, which are mostly lacking many web-browser capabilities that Firefox and alike have.

I initially suggested the CHM reader extension for Firefox, but it isn't actively maintained anymore.

  • 5
    There is a new firefox add-on called ChmFox 1.2. Supposed to be a replacement for the old CHM reader project. you can find it at addons.mozilla.org/en-US/firefox/addon/chmfox – Julio Jul 21 '11 at 20:33
  • Cannot install CHM reader, but ChmFox is good. – Pisu May 8 '14 at 7:39
  • Thanks for the recommendation. I have installed the add-on (ChmFox) but firefox doesn't open the file, it just tries to re-download it from the local storage. Would you please suggest what should I do to fix this? – arman_aegit May 10 '17 at 6:12
  • The link is broken. Currently, there's no CHMFox extension in Firefox Add-ons. I think it has been removed. – MAChitgarha Jul 17 at 11:23
6

As an alternative, since the CHM format is not very popular you can convert it to PDF using chm2pdf:

sudo apt-get install chm2pdf
chm2pdf --webpage your.chm

This will produce a your.pdf file. As an alternative you can use the --book or --continuous options instead of --webpage; more info here http://www.ubuntugeek.com/how-to-convert-chm-files-into-pdf-files-in-ubuntu.html

6

I like the reader that comes with wine! (hh.exe?)

Open hh.exe that comes with wine and browse for your CHM file from it, or supply it as a command line argument:

$ wine /usr/lib/x86_64-linux-gnu/wine-development/fakedlls/hh.exe WindowsHalp.chm

2

Also a plugin called CHM Reader exists for Firefox.
https://addons.mozilla.org/en-US/firefox/addon/3235/

2

In addition to the Firefox extension(s), there's a neat Chrome app called Chumium that does the job.

2

extract_chmLib does a very good job of converting chm (compiled html) files into htm format. It is in the Ubuntu repository in the package libchm-bin.

extract_chmLib maintains the full functionality of the original.. However, I did need to rename files to lowercase, for one .chm (becaue chm is a Windows format which is not case-sensitive like Linux), but the overall result is ideal for me...

Here are a couple of links...

1

In Ubuntu Software Center you can do a search for "chm" (no quotes) and find some decent chm viewers.

However, while using them, I'm always missing the scaling features in firefox (to make everything bigger - not just fonts).

Therefore, my favorite CHM viewer is Firefox itself via the ChmFox extension.

1
sudo apt-get install kchmviewer

This worked for me on Ubuntu 16.04

  • It works on Ubuntu 18.04 as well :) – Aminu Kano Jan 26 at 8:20
1

There are a lot of CHM readers. You can find them in Software Center. Just type chm.

0

I prefer GnoCHM.

  • 1
    gnochm isn't available in maverick 10.10 – hhlp Oct 19 '10 at 16:02
  • 1
    why gnochm is any more on Ubuntu repository? – neuromancer Apr 7 '11 at 10:19
0

By default ubuntu doesn't provide any chm reader.

If you have installed wine, then by default it provides one package named hh.

  1. Right click on file.
  2. Open with wine
  3. Just select hh as default option it shows and select
0

Calibre is a library manager that can read all sorts of book formats, CHM included.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.