How to Open and View or Extract CHM (Compiled HTML) Files in Linux Làm thế nào để mở và xem hoặc Extract CHM (Compiled HTML) tập tin trong Linux
Microsoft Compiled HTML Help or more commonly known as .CHM format, is a proprietary format for online help files by Microsoft which was first released in 1997 in Windows 98 as a successor to the Microsoft WinHelp format. Microsoft Compiled HTML Help hay thường được gọi là định dạng CHM., Là một định dạng độc quyền cho các tập tin trợ giúp trực tuyến của Microsoft mà lần đầu tiên được phát hành vào năm 1997 trong Windows 98 như là một kế để định dạng WinHelp Microsoft. CHM packages and archives all HTML files into one single file, including the associated images and other media. CHM gói và lưu trữ tất cả các tập tin HTML thành tập tin duy nhất, bao gồm những hình ảnh liên quan và các phương tiện truyền thông khác.
Although been replaced with new generation of Windows Help called Microsoft Assistance Markup Language since Windows Vista, .CHM frmat is still supported and distributed through Windows XP and Vista platform (although Mặc dù được thay thế với thế hệ mới của Windows Microsoft trợ giúp được gọi là Markup Language kể từ Windows Vista, CHM frmat. Vẫn còn được hỗ trợ và phân phối thông qua nền tảng Windows XP và Vista (mặc dù HLP extension format has been dropped in Vista HLP mở rộng định dạng đã được giảm xuống trong Vista ). ). However, Linux and Mac OS X machines do not have built-in support for CHM format either, and requires user install third party tools for CHM support. Tuy nhiên, Linux và Mac OS X máy không có built-in hỗ trợ cho hai định dạng CHM, và yêu cầu người sử dụng cài đặt công cụ của bên thứ ba cho CHM hỗ trợ.
There are plenty of CHM files viewer libraries for Linux operating system that allows Linux users to read and open CHM files. Có rất nhiều file CHM thư viện cho người xem hệ điều hành Linux, cho phép người dùng Linux để đọc và mở file CHM. And most of the CHM viewer libraries is available in the default distribution repositories of popular mainstream LInux distros, or in ports collection of BSD system. Và hầu hết các thư viện xem CHM có sẵn trong kho phân phối mặc định của chính phổ biến Linux distro, hoặc tại cổng bộ sưu tập của BSD hệ thống.
Opening and Viewing CHM Files on Fedora 9 with Mở và xem tập tin CHM trên Fedora 9 với Okular Okular
Fedora 9 already installed with Okular application, a document viewer for KDE 4. Fedora 9 đã được cài đặt với các ứng dụng Okular, một người xem tài liệu cho KDE 4. Okular supports Microsoft Compiled HTML Help (CHM) with the libCHM backend. Okular hỗ trợ Microsoft Compiled HTML Help (CHM) với phụ trợ libCHM. In other Linux distros using KDE4, Okular can be installed to view CHM files too. Trong các distro Linux dùng KDE4, Okular có thể được cài đặt để xem các file CHM quá.

How to Install libchm or chmlib in Debian/Ubuntu/Fedora/RedHat/Suse and Other Linux Distros Làm thế nào để Cài đặt libchm hoặc chmlib trong Debian / Ubuntu / Fedora / RedHat / Suse và khác Linux distro
libchm libchm and và chmlib chmlib are a very basic but sufficient library for dealing with Microsoft ITSS/CHM format files. là một thư viện rất cơ bản nhưng đủ để đối phó với Microsoft ITSS / CHM tập tin định dạng. These two libraries (each for different Linux distribution) serve to provide basic functionality related CHM files, which other CHM viewer tools rely on and use. Hai thư viện (mỗi để phân phối Linux khác nhau) phục vụ để cung cấp các chức năng cơ bản liên quan đến các file CHM, trong đó các công cụ khác CHM dựa vào người xem và sử dụng. With just the basic library, user will be able to extract the contents of the CHM files. Với thư viện chỉ là cơ bản, người dùng sẽ có thể trích xuất nội dung của các file CHM. And as most third-party CHM tools to view CHM on desktop require the basic library too, it should be installed first, if it's not installed yet. Và như hầu hết các bên thứ ba công cụ CHM CHM để xem trên máy tính để bàn yêu cầu của thư viện cơ bản quá, cần được cài đặt trước, nếu nó không được cài đặt nào.
For Debian or Ubuntu Linux, install libchm with the following command: Đối với Debian hay Ubuntu Linux, cài đặt libchm với lệnh sau đây:
$ sudo apt-get install libchm-bin $ Sudo apt-get install libchm-bin
For Fedora, Fedora Core, RedHat and SuSE Linux, install chmlib with the following command: Đối với Fedora, Fedora Core, RedHat và SuSE Linux, cài đặt chmlib với lệnh sau đây:
$ sudo yum -y install chmlib $ Sudo yum-y cài đặt chmlib
General Commands to Install Application Software from Linux Repositories Tổng lệnh để Cài đặt phần mềm ứng dụng từ Linux Repositories
Most CHM viewers are included into the Linux repositories, and thus can be installed via respective repo-tools (yum or apt-get). Phần lớn người xem CHM được đưa vào kho Linux, và do đó có thể được cài đặt qua các công cụ tương ứng repo yum (hoặc apt-get). The command syntax as below: Cú pháp lệnh như dưới đây:
For Fedora, Fedora Code, Red-Hat, SuSE Linux, Madriva Linux: Đối với Fedora, Fedora Mã, Red-Hat, SuSE Linux, Madriva Linux:
$ sudo yum -y install <library_name> $ Sudo yum-y cài đặt <library_name>
For Debian and Ubuntu Linux: Đối với Debian và Ubuntu Linux:
$ sudo apt-get install <library_name> $ Sudo apt-get install <library_name>
For BSD or FreeBSD, Đối với BSD hay FreeBSD, search for the application in the ports collection tìm kiếm các ứng dụng trong bộ sưu tập các cảng , and then issue “make install clean” command in the application port directory, or use “pkg_add -r <package_name> command. , Và sau đó vấn đề "thực hiện cài đặt sạch" lệnh trong thư mục cổng ứng dụng, hoặc sử dụng "pkg_add-r <package_name> lệnh.
CHM File Viewer Tools for Linux CHM File Viewer cụ cho Linux

The standard KDE viewer for CHM files. Trình xem KDE tiêu chuẩn cho các tập tin CHM. Available in most repositories. Có sẵn trong hầu hết các kho.
Help Explorer Viewer 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. Sẵn có cho cả hai nền tảng Windows và Linux, và hỗ trợ Microsoft Windows Help (WinHelp) ở định dạng HLP, Microsoft HTML. Trợ giúp 1.x ở định dạng CHM., Và Microsoft giúp 2,0 ở định dạng HXS..

After downloading the Sau khi tải xuống HelpExplorer3.0_LINUX.tar.gz HelpExplorer3.0_LINUX.tar.gz , su to root and issue these commands to install Help Explorer Viewer: , Su vào root và phát hành các lệnh này để cài đặt Help Explorer Viewer:
tar zxf HelpExplorer3.0_LINUX.tar.gz
cd Setup/
./setup.sh
ChmSee is an open source Gtk2+ package for GNOME wrote by a Chinese. ChmSee là một Gtk2 mã nguồn mở + gói cho Gnome đã viết bằng tiếng Trung. After downloading the source package tarball Sau khi tải về các gói nguồn tarball chmsee-1.0.1.tar.gz chmsee-1.0.1.tar.gz , run the following commands to compile ChmSee. , Chạy các lệnh sau để biên dịch ChmSee.
$ tar xzf chmsee-1.0.1.tar.gz
$ cd chmsee-1.0.1
$ ./configure
$ make
# make install

System cannot find the chmlib can use “–with-chmlib=/path/to/chmlib” parameter to specify the path to chmlib. Hệ thống không thể tìm thấy chmlib có thể sử dụng "-với-con đường chmlib / = / to / chmlib" tham số để xác định đường dẫn đến chmlib. Compiling requiers Gtk2+, libglade, gecko, gtkhtml, chmlib, libgcrypt and OpenSSL. Biên dịch requiers Gtk2 +, libglade, gecko, gtkhtml, chmlib, libgcrypt và OpenSSL. But pre-compiled packages are available for Nhưng trước các gói biên dịch có sẵn cho Debian Debian , , Fedora Fedora (RPM) and Gentoo (as part of (Vòng / phút) và Gentoo (như là một phần của Gentoo China Overlay Gentoo Lớp phủ Trung Quốc ) )
GnoCHM is a CHM file viewer for Gnome, and uses PyCHM, a Python package that exports the CHMLIB API. GnoCHM là một file CHM viewer for Gnome, và sử dụng PyCHM, một gói Python rằng xuất khẩu API CHMLIB. Features are: Tính năng này là:
- Support for external ms-its links Hỗ trợ cho ms bên ngoài các liên kết của nó
- Full text search support Hỗ trợ tìm kiếm toàn văn
- Bookmarks Bookmarks
- Configurable support for HTTP links Cấu hình hỗ trợ cho các liên kết HTTP
- Integrated with Gnome2 Tích hợp với 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) Hỗ trợ cho nhiều ngôn ngữ (được, 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 Hỗ trợ để mở nhiều file cùng một lúc
- Displays HTML page source Hiển thị HTML trên trang nguồn
Install via repositories. Cài đặt qua kho.

xCHM is a cross-platform GUI front-end to chmlib, supports UNIX systems (Linux, *BSD, Solaris), Mac OS X and Windows. Xchm là một cross-platform GUI front-end tới chmlib, hỗ trợ hệ thống UNIX (Linux, * BSD, Solaris), Mac OS X và Windows.

Install via repositories package or ports collection, else download for various xCHM distro packages available Cài đặt qua kho gói hoặc bộ sưu tập các cảng, khác tải về gói distro khác nhau Xchm sẵn here ở đây . .
KCHM is a .chm file viewer which uses the Qt widget toolkit and the KDE core libraries. KCHM chm là một tập tin. Xem mà sử dụng bộ công cụ widget QT và các thư viện KDE lõi. Seems to not been actively developed anymore. Dường như không được chủ động phát triển nữa. Requires chmlib, Qt 3, KDE 3.1.4 and automake stuff for compilation, where source package can be downloaded from Yêu cầu chmlib, Qt 3, KDE 3.1.4 và automake cụ để biên dịch, mà gói nguồn có thể được tải từ SourceForge.net SourceForge.net . .

Using CHM Reader Add-On Extension in Firefox Sử dụng CHM Reader Add-On Extension trong Firefox
CHM Reader add-on is an extension for Firefox web browser that able to open Compiled HTML (.CHM) file. CHM Reader ích là một phần mở rộng cho các trình duyệt web Firefox có thể mở Compiled HTML (CHM). Tập. It adss a new “Open CHM Files” entry to the Firefox File menu. It ADSS một "mới mở CHM Files" mục nhập trình đơn File Firefox. When you opening a CHM file, the table of contents is hidden by default, but can be brought up by pressing Ctrl-E. Khi bạn mở một file CHM, các bảng nội dung bị ẩn theo mặc định, nhưng có thể được nuôi dưỡng bằng cách nhấn Ctrl-E.

To install CHM Reader, go to Để cài đặt CHM Reader, vào this page trang này with Firefox and then click on “Install” button. với Firefox và sau đó bấm vào nút "Install. Restart the Firefox after installation. Khởi động lại Firefox sau khi cài đặt.
How to Extract the Contents (HTML Files) Inside the CHM Archive Làm thế nào để Extract Nội dung (HTML Files) Bên trong Lưu trữ CHM
To extract the contents of CHM file, use the following command: Để trích xuất nội dung của file CHM, sử dụng lệnh sau đây:
extract_chmlib filename .chm / destination_dir / extract_chmlib tên tập tin. 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. Thay đổi tên tập tin để thực sự tên cho file CHM, và destination_dir vào một thư mục để đặt các chiết xuất và giải nén tập tin HTML và nội dung.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux Mở, Extract và Convert DAA, ISO và BIN tập tin trong Linux miễn phí với PowerISO cho Linux
- How to Open and Extract .DAA Image Files Làm thế nào để mở và Extract tập tin hình. DAA
- Open and View Windows Help .HLP Content Files in Vista Mở và xem giúp Windows HLP Nội dung. Files trong Vista
- Extract and View Contents of Microsoft Update Standalone Package (MSU) for Windows Vista Giải nén và xem nội dung của Microsoft Update Standalone Package (MSU) cho Windows Vista
- Extract Password Protected RAR Files by Batch with Unrar Extract and Recover Mật khẩu giải nén RAR được bảo hộ bởi Batch Files với Unrar Extract và Recover
- HTML-PDF-Converter Online Service to Convert Webpage to PDF Files HTML-PDF-Converter Dịch vụ trực tuyến cho trang web Chuyển đổi sang PDF Files
- Launch and Open Links in New Window or Tab with _blank or _new as Target in HTML and Their Difference Khởi động và kết Open in New Window hoặc Tab với _blank hoặc _new như là mục tiêu trong HTML và khác biệt của họ
- How to Open, View or Create XPS Documents in Windows XP and Windows 2003 Làm thế nào để mở, xem hoặc Tạo tài liệu XPS trong Windows XP và Windows 2003
- Extract Archived Files With Universal Extractor Dành được giải nén tập tin với Universal Extractor
- Open and Play Windows Media Audio and Video Files (WMA and WMV) on Mac OS Mở và Play Windows Media Audio và Video Files (WMA và WMV) trên Mac OS










































October 16th, 2008 05:59 16 Tháng Mười 2008 05:59
[...] How to Open and View or Extract CHM (Compiled HTML) Files in Linux [...] [...] Làm thế nào để mở và xem hoặc Extract CHM (Compiled HTML) tập tin trong Linux [...]