zoukankan      html  css  js  c++  java
  • 【转载】centos6.2下安装星际译王stardict3.0

    星际译王是一个Linux下很好的翻译软件。

    我的系统是centos6.2 32位版。本来在http://code.google.com/p/stardict-3/downloads/list 上下的源码包安装。结果每次无法./configure过去。提示

    configure: error: Enchant library not found or too old. Use --disable-spell to build without spell plugin.
    加上--disable-spell参数又出现新的错误。网上方法都试了,一直未搞定。

    后来,找到了rpm包后很容易就装好了。

    1,下载地址(选择 binary package,):

    32位系统:

    http://pkgs.org/centos-6-rhel-6/naulinux-school-i386/stardict-3.0.2-1.el6.i686.rpm/download/

    64位系统:

    http://pkgs.org/centos-6-rhel-6/puias-x86_64/stardict-3.0.1-22.puias6.x86_64.rpm/download/ 

    2, 用yum安装

    yum localinstall stardict-3.0.2-1.el6.i686.rpm

    注:我的安装依赖包为:espeak-1.40.02-3.1.el6.i686.rpm。通过yum自动解决。

    其他软件包依赖关系等问题请查看:

    http://pkgs.org/centos-6-rhel-6/naulinux-school-i386/stardict-3.0.2-1.el6.i686.rpm.html 

    这时候在附件里面已经可以启动星际译王了。只不过这时侯还只能联网使用。断网就没用了,因为没有中文词库。

    3,下载词库

    http://pkgs.org/centos-6-rhel-6/puias-i386/stardict-dic-zh_CN-2.4.2-6.puias6.noarch.rpm/download/

    4,安装词库

    rpm -ivh stardict-dic-zh_CN-2.4.2-6.puias6.noarch.rpm

    词库安装问题及说明可以查看以下链接

    http://pkgs.org/centos-6-rhel-6/puias-i386/stardict-dic-zh_CN-2.4.2-6.puias6.noarch.rpm.html

    ok!现在断网也能用了。

    ps:也可以在 http://abloz.com/huzheng/stardict-dic/zh_CN/ 这个网站上下载你想要的其他中英词库。下载解压后将其解压在 /usr/share/stardict/dic/ 下就行了。

    转自:http://www.linuxso.com/linuxrumen/29170.html

     
  • 相关阅读:
    NSDate
    Info.plist字段列表详解
    面向对象编程思想以及强、弱引用总结
    分类(类别/Category)与 类扩展(Extension)
    UIAlertView
    SQLite3的运用
    快速创建单例
    C++ 常用设计模式
    I2S 总线学习:2-I2S驱动WM8978
    设计模式的七大原则
  • 原文地址:https://www.cnblogs.com/siwei1988/p/2600855.html
Copyright © 2011-2022 走看看