Dict in Ubuntu

最近经常上英文网站,本来一直使用 Baidu 内嵌的 Dr.eye,后来发现不太方便于是安装了 dict.cn 的网页划词。但这两天 dict.cn 的服务器似乎有问题,老是查不到词汇(而且使用在线划词会把 firefox 搞死……)。于是乎上网查了一下,发现在 Linux 上可以用 terminal 查单词,除了没发音该有的都有。

实际上用的是 dict 开放协议。

$sudo apt-get install dict #客户端 (在 /etc/dictd/dict.conf 注释掉服务器,让其只使用本地读字典)
$sudo apt-get install dictd #服务器端
$sudo apt-get dict-xdict dict-stardic dict-gcide #三个字典文件

最后使用 $dict word 就可以查单词了,退出按 Q 键。

参考:http://blog.cathayan.org/item/1715

p.s. 今早遇到件特不愉快的事


Save This Page

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*