1. Install the software libchm-bin:
zhancang@ubuntu:~$ sudo apt-get install libchm-bin
Password:
Reading package list... Done
Analyzing a package's dependency tree
Reading status information... Done
The following [new] packages will be installed:
libchm-bin
A total of 0 software packages have been upgraded, 1 new software package has been installed, 0 software packages need to be uninstalled, and 24 software packages have not been upgraded.
Requires download of 17.5kB package.
After decompression, an additional 180kB of space will be consumed.
[Warning]: The following software packages cannot pass verification!
libchm-bin
Are these packages installed without verification? [y/N] y
Get: 1 http://debian.ustc.edu.cn feisty/universe libchm-bin 2:0.39-2 [17.5kB]
Download 17.5kB, takes 0s (35.2kB/s)
The previously deselected package libchm-bin is selected.
(Reading database... The system currently has a total of 128389 files and directories installed.)
Unpacking libchm-bin (from.../libchm-bin_2%3a0.39-2_i386.deb) ...
Setting up libchm-bin (0.39-2) ...
zhancang@ubuntu:~$
2. Usage:
zhancang@ubuntu:~$ extract_chmLib --help
usage: extract_chmLib
For example:
zhancang@ubuntu:~$ extract_chmLib 878.chm /home/zhancang/878/
878.chm:
--> /#IDXHDR
-->/#ITBITS
--> /#STRINGS
--> /#SYSTEM
--> /#TOPICS
--> /#URLSTR
--> /#URLTBL
--> /#WINDOWS
-->/Temp.htm
zhancang@ubuntu:~$