如何打开和观看或者提取在Linux的CHM (编写HTML)文件

微软编写了HTML帮助或通常,以.CHM格式, 1997年是一个私有的格式为联机帮助文件由首先被发布在视窗98作为一个后继者到微软WinHelp格式的微软著名。 CHM包裹和档案所有HTML文件到一个单一文件里,包括伴生的图象和其他媒介。

虽然用窗口的新一代替换帮助叫的微软协助标记语言从窗口景色, .CHM frmat通过Windows XP和景色平台仍然支持并且被分布(虽然 HLP引伸格式在景色下降了). 然而, Linux和Mac OS x机器不安排固定支持为CHM格式化二者之一,并且要求用户安装为CHM支持的第三方工具。

有大量CHM文件观察者图书馆为允许Linux用户读和打开CHM文件的Linux操作系统。 并且大多CHM观察者图书馆是可利用的在普遍的主流Linux distros缺省发行贮藏库,或者在BSD系统的口岸汇集。

开头和观察CHM文件在浅顶软呢帽9与 Okular

浅顶软呢帽9已经安装以Okular应用,一个文件观察者为KDE 4。 Okular支持微软编写了HTML帮助(CHM)与libCHM后端。 在其他Linux distros使用KDE4, Okular可以安装也是观看CHM文件。

Okular

如何安装libchm或chmlib在Debian/Ubuntu/Fedora/RedHat/Suse和其他Linux Distros

libchm 并且 chmlib 是一个非常基本,但充足的图书馆为涉及微软ITSS/CHM格式文件。 这二个图书馆(其中每一个为另外Linux发行)服务提供基本的功能相关的CHM文件,其他CHM观察者工具依靠并且使用。 与基本的图书馆,用户能提取CHM文件的内容。 如果没有安装它,并且作为观看CHM的多数第三方CHM工具在桌面上要求基本的图书馆,它应该首先安装。

为Debian或Ubuntu Linux,安装libchm以以下命令:

$ sudo易于得到安装libchm容器

为浅顶软呢帽,浅顶软呢帽核心、RedHat和SuSE Linux,安装chmlib以以下命令:

$ sudo yum - y安装chmlib

一般命令安装应用软件从Linux贮藏库

多数CHM观察者是包括的入Linux贮藏库和可以通过各自repo工具因而安装(yum或易于得到)。 命令句法作为如下:

为浅顶软呢帽,浅顶软呢帽代码,红色帽子, SuSE Linux, Madriva Linux :

$ sudo yum - y安装 <library_name>

为Debian和Ubuntu Linux :

$ sudo apt-get install <library_name>

For BSD or FreeBSD, search for the application in the ports collection, and then issue “make install clean” command in the application port directory, or use “pkg_add -r <package_name> command.

CHM File Viewer Tools for Linux

KchmViewer

KChmViwer

The standard KDE viewer for CHM files. Available in most repositories.

Help Explorer Viewer

Available for both Windows and Linux platform, and support Microsoft Windows Help (WinHelp) in .HLP format, Microsoft HTML Help 1.x in .CHM format, and Microsoft Help 2.0 in .HXS format.

Help Explorer Viewer

After downloading the HelpExplorer3.0_LINUX.tar.gz, su to root and issue these commands to install Help Explorer Viewer:

tar zxf HelpExplorer3.0_LINUX.tar.gz
cd Setup/
./setup.sh

ChmSee

ChmSee is an open source Gtk2+ package for GNOME wrote by a Chinese. After downloading the source package tarball chmsee-1.0.1.tar.gz, run the following commands to compile ChmSee.

$ tar xzf chmsee-1.0.1.tar.gz
$ cd chmsee-1.0.1
$ ./configure
$ make
# make install

ChmSee

System cannot find the chmlib can use “–with-chmlib=/path/to/chmlib” parameter to specify the path to chmlib. Compiling requiers Gtk2+, libglade, gecko, gtkhtml, chmlib, libgcrypt and OpenSSL. But pre-compiled packages are available for Debian, Fedora (RPM) and Gentoo (as part of Gentoo China Overlay)

GnoCHM

GnoCHM is a CHM file viewer for Gnome, and uses PyCHM, a Python package that exports the CHMLIB API. Features are:

  • Support for external ms-its links
  • Full text search support
  • Bookmarks
  • Configurable support for HTTP links
  • Integrated with Gnome2
  • Support for multiple languages (be, cs, de, el, es, fr, hu, it, ja, pl, pt_BR, ru, sv, tr, vi, zh_CN, zh_TW)
  • Support to open multiple files at once
  • Displays HTML page source

Install via repositories.

GnoCHM

xCHM

xCHM is a cross-platform GUI front-end to chmlib, supports UNIX systems (Linux, *BSD, Solaris), Mac OS X and Windows.

xCHM

Install via repositories package or ports collection, else download for various xCHM distro packages available here.

KCHM

KCHM is a .chm file viewer which uses the Qt widget toolkit and the KDE core libraries. Seems to not been actively developed anymore. Requires chmlib, Qt 3, KDE 3.1.4 and automake stuff for compilation, where source package can be downloaded from SourceForge.net.

KCHM

Using CHM Reader Add-On Extension in Firefox

CHM Reader add-on is an extension for Firefox web browser that able to open Compiled HTML (.CHM) file. It adss a new “Open CHM Files” entry to the Firefox File menu. When you opening a CHM file, the table of contents is hidden by default, but can be brought up by pressing Ctrl-E.

Opening CHM in Firefox

To install CHM Reader, go to this page with Firefox and then click on “Install” button. Restart the Firefox after installation.

How to Extract the Contents (HTML Files) Inside the CHM Archive

To extract the contents of CHM file, use the following command:

extract_chmlib filename.chm /destination_dir/

Change the filename to actualy file name for the CHM, and destination_dir to a directory to place the extracted and unpacked HTML files and contents.

IMPORTANT: This is a machine translated page which is provided "as is" without warranty. Machine translation may be difficult to understand. Please refer to original English article whenever possible.

Share and contribute or get technical support and help at My Digital Life Forums.



Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

iphone chm - open .chm - how to open CHM file - debian chm - chm to html linux - chm iphone - chm reader for debian - extract chm - chm extractor - how to open chm - iphone chm reader - how to open .chm files - how to open .chm - chm extract - fedora chm - chm open - how to open .chm file - open chm - chm reader iphone - how to open Compiled HTML - open compiled html file - all - how to open chm files - debian okular chm - chm on iphone - okular chm - debian chm viewer - debian chm reader - libchm-bin rpm - chm reader fedora - opening .chm - chmsee suse repository - compiled HTML help download for linux - chm reader rpm - chm unzip - linux support for .chm - linux chm to html - open chm file - how to open chm file in linux - compiled html file - How to open Compiled HTML Help file - open .chm files - fedora chm viewer - chm reader for linux - install okular fedora 9 - okular command - read chm on iphone - how to open .chm file in linux - opening chm files suse - ubuntu open a compile html help file -