Install xchm on CentOS

Source: Internet
Author: User
You need to read some chm files. this is not supported by default in Linux. after all, it is something developed by Microsoft, but many cool people have developed some tools to view the chm file, I also browsed some of them. I first tried a ChmFox plug-in firefox, but I couldn't use one, and chmsee was not supported. Finally, I used xchm, which was good, the Chinese display is quite good, but the title bar is garbled. I don't know why, and the speed is not very fast, but it is also within the acceptable range. open a 30 m text

You need to read some chm files. this is not supported by default in Linux. after all, it is something developed by Microsoft, but many cool people have developed some tools to view the chm file, I also browsed some of them. I first tried a ChmFox plug-in firefox, but I couldn't use one, and chmsee was not supported. Finally, I used xchm, which was good, the Chinese display is quite good, but the title bar shows garbled characters. I don't know why, and the speed is not very fast, but it is also acceptable to open a 30 m file within 18 s, I tried it only once. sometimes the content is too large during use and the response is slower. However, the display is quite normal and I will use it.

Installing it is also quite simple, to use the third-party source rpmforge, here there is the installation method: http://www.centoscn.com/CentOS/config/2014/1027/3998.html

Download xchm now at: http://pkgs.org/search? Keyword = xCHM, in fact, this website http://pkgs.org is very good, the software inside is quite complete, you can directly search for the software you want. Here, we select the corresponding version to enter the Directory, click Download xchm to enter the Download page, and select Download binary package version. Install the SDK directly after the download:

[root@ienter Downloads]# rpm -ivh xchm*warning: xchm-1.22-1.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEYerror: Failed dependencies:    libchm.so.0 is needed by xchm-1.22-1.el6.i686    libwx_baseu-2.8.so.0 is needed by xchm-1.22-1.el6.i686    libwx_baseu-2.8.so.0(WXU_2.8) is needed by xchm-1.22-1.el6.i686    libwx_baseu_net-2.8.so.0 is needed by xchm-1.22-1.el6.i686    libwx_baseu_net-2.8.so.0(WXU_2.8) is needed by xchm-1.22-1.el6.i686    libwx_baseu_xml-2.8.so.0 is needed by xchm-1.22-1.el6.i686    libwx_gtk2u_adv-2.8.so.0 is needed by xchm-1.22-1.el6.i686    libwx_gtk2u_aui-2.8.so.0 is needed by xchm-1.22-1.el6.i686    libwx_gtk2u_aui-2.8.so.0(WXU_2.8) is needed by xchm-1.22-1.el6.i686    libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5) is needed by xchm-1.22-1.el6.i686    libwx_gtk2u_core-2.8.so.0 is needed by xchm-1.22-1.el6.i686    libwx_gtk2u_core-2.8.so.0(WXU_2.8) is needed by xchm-1.22-1.el6.i686    libwx_gtk2u_html-2.8.so.0 is needed by xchm-1.22-1.el6.i686    libwx_gtk2u_html-2.8.so.0(WXU_2.8) is needed by xchm-1.22-1.el6.i686    libwx_gtk2u_qa-2.8.so.0 is needed by xchm-1.22-1.el6.i686    libwx_gtk2u_richtext-2.8.so.0 is needed by xchm-1.22-1.el6.i686    libwx_gtk2u_xrc-2.8.so.0 is needed by xchm-1.22-1.el6.i686

The installation is too reliable. use yum for installation:

[root@ienter Downloads]# yum localinstall xchm*Loaded plugins: fastestmirror, refresh-packagekit, securitySetting up Local Package ProcessExamining xchm-1.22-1.el6.i686.rpm: xchm-1.22-1.el6.i686Marking xchm-1.22-1.el6.i686.rpm to be installedLoading mirror speeds from cached hostfile * base: mirrors.neusoft.edu.cn * extras: mirrors.neusoft.edu.cn * rpmforge: mirror.chpc.utah.edu * updates: mirrors.neusoft.edu.cnResolving Dependencies--> Running transaction check---> Package xchm.i686 0:1.22-1.el6 will be installed--> Processing Dependency: libchm.so.0 for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_baseu-2.8.so.0 for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_baseu-2.8.so.0(WXU_2.8) for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_baseu_net-2.8.so.0 for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_baseu_net-2.8.so.0(WXU_2.8) for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_baseu_xml-2.8.so.0 for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_gtk2u_adv-2.8.so.0 for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_gtk2u_aui-2.8.so.0 for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_gtk2u_aui-2.8.so.0(WXU_2.8) for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5) for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_gtk2u_core-2.8.so.0 for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_gtk2u_core-2.8.so.0(WXU_2.8) for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_gtk2u_html-2.8.so.0 for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_gtk2u_html-2.8.so.0(WXU_2.8) for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_gtk2u_qa-2.8.so.0 for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_gtk2u_richtext-2.8.so.0 for package: xchm-1.22-1.el6.i686--> Processing Dependency: libwx_gtk2u_xrc-2.8.so.0 for package: xchm-1.22-1.el6.i686--> Running transaction check---> Package chmlib.i686 0:0.40-1.el6.rf will be installed---> Package wxGTK.i686 0:2.8.12-1.el6.rf will be installed--> Finished Dependency ResolutionDependencies Resolved================================================================================ Package     Arch      Version                 Repository                  Size================================================================================Installing: xchm        i686      1.22-1.el6              /xchm-1.22-1.el6.i686      725 kInstalling for dependencies: chmlib      i686      0.40-1.el6.rf           rpmforge                    51 k wxGTK       i686      2.8.12-1.el6.rf         rpmforge                    17 MTransaction Summary================================================================================Install       3 Package(s)Total size: 18 MTotal download size: 17 MInstalled size: 75 MIs this ok [y/N]: yDownloading Packages:(1/2): chmlib-0.40-1.el6.rf.i686.rpm                     |  51 kB     00:01(2/2): wxGTK-2.8.12-1.el6.rf.i686.rpm                    |  17 MB     04:53--------------------------------------------------------------------------------Total                                            58 kB/s |  17 MB     05:03Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction  Installing : chmlib-0.40-1.el6.rf.i686                                    1/3  Installing : wxGTK-2.8.12-1.el6.rf.i686                                   2/3  Installing : xchm-1.22-1.el6.i686                                         3/3  Verifying  : xchm-1.22-1.el6.i686                                         1/3  Verifying  : wxGTK-2.8.12-1.el6.rf.i686                                   2/3  Verifying  : chmlib-0.40-1.el6.rf.i686                                    3/3 Installed:  xchm.i686 0:1.22-1.el6                                                        Dependency Installed:  chmlib.i686 0:0.40-1.el6.rf            wxGTK.i686 0:2.8.12-1.el6.rf           Complete!

OK. this installation is successful. open it and try again. No problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.