Linux系统下的星际译王Stardict的安装方法Linux下星际译王 stardict 的安装
“星际译王”是用Gtk2开发的跨平台的国际化的词典软件。它具有“通配符匹配”、“选中区取词”、“模糊查询”等强大功能。本文主要解说一下主程序和词库的安装;
一、什么是星际译王 stardict ;
“星际译王”是用Gtk2开发的跨平台的国际化的词典软件。它具有“通配符匹配”、“选中区取词”、“模糊查询”等强大功能。所以他不仅仅是汉英和英汉词典;目前星际译王的词库多多;但国人大多还是用英汉和汉英比较多;
官方主站: http://stardict.sourceforge.net 词库页面: 词库页面http://stardict.sourceforge.net/Dictionaries.php 中英字典: 中(简体)英词典http://stardict.sourceforge.net/Dictionaries_zh_CN.php
其它词典,请到词库存页面上查看;
二、安装星际译王 stardict;
1、安装主程序 stardict
您可以通过到官方直接下载 stardict 的RPM 包,也可以通过 yum 或apt 来在线安装stardict ;其实系统光盘映像中也有stardict的主程序包,只是没有词典;
[root@localhost beinan]# yum install stardict
或者直接下载rpm 包来安装;
[root@localhost beinan]#rpm -ivh stardict*
2、安装词典;
我们通过 中(简体)英词典下载所有的RPM 包,放在一个目录中,比如是stardict目录;执行安装命令;
[root@localhost stardict]# rpm -ivh stardict*.rpm Preparing... ########################################### [100%] 1:stardict-xdict-ec-gb ########################################### [ 13%] 2:stardict-cdict-gb ########################################### [ 25%] 3:stardict-cedict-gb ########################################### [ 38%] 4:stardict-hanzim ########################################### [ 50%] 5:stardict-langdao-ec-gb ########################################### [ 63%] 6:stardict-oxford-gb ########################################### [ 75%] 7:stardict-stardict1.3 ########################################### [ 88%] 8:stardict-xdict-ce-gb ########################################### [100%]
3、调用stardict ;
[beinan@localhost stardict]$ stardict
加载字典详细信息如下:
bookname: 朗道英汉字典5.0 , wordcount 435468 bookname: XDICT英汉辞典 , wordcount 177842 bookname: stardict1.3英汉辞典 , wordcount 51214 bookname: CEDICT汉英辞典 , wordcount 23451 bookname: XDICT汉英辞典 , wordcount 160997 bookname: 牛津现代英汉双解词典 , wordcount 39429 bookname: CDICT5英汉辞典 , wordcount 57510 bookname: Hanzi Master 1.3 , wordcount 25992
4、其它词典的安装;
大同小异,自己下载,直接rpm -vih file.rpm 就能安装上;没有什么难的;
后记:
算一个FAQ ;只是学会rpm 命令就能安装了,新手弟兄或许需要。
(责任编辑:云子)
上一篇:如何用LoadRunner实现对Linux系统的监视 下一篇:微软下调Windows Vista中文版产品的价格 更多相关文章
|
推荐文章
精彩文章
|