CentOS安装xchm

CentOS安装xchm

太阳集团所有网址16877 1

需要看一些chm的文件,这东西在Linux下面默认是不支持的,毕竟是微软开发的东西,但是好多牛人开发了一些工具可以查看chm文件,我也都浏览了一些,先是尝试了一下firefox的一个ChmFox插件,使用了一个不行,还有chmsee用了一下也支持不好,最后用的是xchm,不错,中文显示也挺好,不过标题栏显示乱码,不知道为什么,还有就是速度不是很快,但也在接受的范围之内,打开一个30M的文件,用了是18s,我只试了一次,使用过程中有时候内容多,反应也慢一些,不过显示的挺正常,就用它了。

安装它也挺简单的,要使用第三方源rpmforge,在这里有安装方法:

现在去下载xchm,地址在这里: xchm那点击进入下载页面,选择下载binary package版本。下载后直接安装:

[[email protected] 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

太阳集团所有网址16877,完蛋,安装的信赖挺多的,改用yum安装:

[[email protected] 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,这次安装成功了,打开尝试一下,没问题

太阳集团所有网址16877 2

需要看一些chm的文件,这东西在Linux下面默认是不支持的,毕竟是微软开发的东西,但是好多牛人开发了一些工具可以查看ch...

太阳集团所有网址16877 3

因为Ubuntu系统没自身带chm浏览器,只能自己安装相应的查看工具了。

之前安装了xchm这个浏览器,不好使,安装也简单,不到一分钟就装好了,直接sudo apt-get install xchm。用xchm浏览很多中文出现乱码。

所以有时候没办法浏览。之后就装了chmsee。OK,非常好。能够正常使用。不过安装过程挺慢的,可能花了好几十分钟.安装chmsee也简单,打开终端输入以下命令:

本文由太阳集团所有网址16877发布于www.16877.com,转载请注明出处:CentOS安装xchm

您可能还会对下面的文章感兴趣: