zhancang@zhancang:~$ sudo apt-get install stardict
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
正在初始化软件包状态... 完成
创建标签数据库... 完成
下列新软件包将被自动安装:
stardict-common
下列“新”软件包将被安装。
stardict stardict-common
0 个软件包被升级,新安装2 个, 0 个将被删除, 同时 0 个将不升级。
需要获取 1044kB 的存档。 解包后将要使用 2458kB。
您要继续吗?[Y/n/?] y
警告:您将安装以下软件包的不可信版本!
不可信的软件可能会危害您的系统安全。
只有当您非常清楚地了解这就是您所要执行的操作时,才应该进行安装操作。
stardict-common stardict
您想忽略这条警告信息并继续执行吗?
要继续,请键入“是”;要中止,请键入“否”: 是
正在编辑扩展状态信息... 完成
读取:1 http://debian.linux.org.tw feisty/universe stardict-common 2.4.8-1 [813kB]
读取:2 http://debian.linux.org.tw feisty/universe stardict 2.4.8-1 [232kB]
已下载 1044kB,耗时 1s (622kB/s)
选中了曾被取消选择的软件包 stardict-common。
(正在读取数据库 ... 系统当前总共安装有 112224 个文件和目录。)
正在解压缩 stardict-common (从 .../stardict-common_2.4.8-1_all.deb) ...
选中了曾被取消选择的软件包 stardict。
正在解压缩 stardict (从 .../stardict_2.4.8-1_i386.deb) ...
正在设置 stardict-common (2.4.8-1) ...
正在设置 stardict (2.4.8-1) ...
zhancang@zhancang:~$
安装成功之后,还没有字典,于是去http://stardict.sourceforge.net/Dictionaries_zh_CN.php下载相应的字典。把其解压到/usr/share/stardict/dic文件夹。
比如我下载的牛津汉英双解字典和现代汉语字典,把它们解压到桌面成为stardict-oxford-gb-2.4.2和stardict- xiandaihanyucidian_fix-2.4.2,然后我运行下面就把其复制到/usr/share/stardict/dic文件夹中了。
zhancang@zhancang:~$ sudo cp -r /home/zhancang/Desktop/stardict-oxford-gb-2.4.2 /usr/share/stardict/dic
Password:
zhancang@zhancang:~$ sudo cp -r /home/zhancang/Desktop/stardict-xiandaihanyucidian_fix-2.4.2 /usr/share/stardict/dic
zhancang@zhancang:~$
ffbp 于 2010-01-18 17:19:14发表:
字典不需要下全部,有牛津双解和郎道两本足够了。
danni 于 2010-01-18 14:16:58发表:
应用程序--附件--星际译王,然后选中单词就可以翻译了。
linwhwylb 于 2009-12-17 18:23:23发表:
况且把那里的所有字典都下载了。也不知道有什么用?
linwhwylb 于 2009-12-17 18:22:42发表:
好。我的比你的似乎顺利!
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
stardict-common stardict-gtk
Recommended packages:
stardict-plugin stardict-plugin-espeak stardict-plugin-festival
The following NEW packages will be installed:
stardict stardict-common stardict-gtk
0 upgraded, 3 newly installed, 0 to remove and 332 not upgraded.
Need to get 503kB of archives.
After this operation, 1802kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://debian.nctu.edu.tw hardy/universe stardict-common 3.0.1-3 [176kB]
Get:2 http://debian.nctu.edu.tw hardy/universe stardict-gtk 3.0.1-3 [314kB]
Get:3 http://debian.nctu.edu.tw hardy/universe stardict 3.0.1-3 [13.2kB]
Fetched 503kB in 5s (95.2kB/s)
Selecting previously deselected package stardict-common.
(Reading database ... 120762 files and directories currently installed.)
Unpacking stardict-common (from .../stardict-common_3.0.1-3_all.deb) ...
Selecting previously deselected package stardict-gtk.
Unpacking stardict-gtk (from .../stardict-gtk_3.0.1-3_i386.deb) ...
Selecting previously deselected package stardict.
Unpacking stardict (from .../stardict_3.0.1-3_all.deb) ...
Setting up stardict-common (3.0.1-3) ...
Setting up stardict-gtk (3.0.1-3) ...
Setting up stardict (3.0.1-3) ...