Go2Linux | Linux Operating System

A site dedicated to: Linux Operating System

How to read CHM files on Linux, convert it to PDF

Date: 2010-08-31 00:00:00 -0400

CHM files are a html help files used by microsoft, and others to provide help files

From Wikipedia:

"Microsoft Compiled HTML Help is a proprietary format for online help files, developed by Microsoft and first released in 1997 as a successor to the Microsoft WinHelp format. It was first introduced with the release of Windows 98, and is still supported and distributed through Windows XP, Vista and Windows 7 platforms"

But, how to read them in Linux?

There are some options, the one I like the most is. Converting it to PDF.

What you will need is: chm2pdf, that you can download from: Google Code.

You will then have to install the dependencies:

  • chmlib
  • pychm
  • htmldoc

and then unpack the code and install it by running:

tar -xvzf [the downloaded file]

sudo python setup.py install

But if you are running Arch Linux you will be able to install it using yaourt.

yaourt chm2pdf

Then to convert your CHM files to PDF run:

chm2pdf --book [the chm file to convert]

If you liked this article please share it.

powered by TinyLetter

If you want to contact me in any other way, please use the contact page.