linux下安装有道词典,具体步骤如下:
参考github:https://github.com/idning/youdao-dict-for-ubuntu
下载.deb安装包,然后安装,会出现下面的错误:
(Reading database ... 296338 files and directories currently installed.)
Preparing to unpack python-webkit_1.1.8-3.1_amd64.deb ...
Unpacking python-webkit (1.1.8-3.1) ...
dpkg: dependency problems prevent configuration of python-webkit:
python-webkit depends on libwebkitgtk-1.0-0 (>= 1.3.10); however:
Package libwebkitgtk-1.0-0 is not installed.
dpkg: error processing package python-webkit (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-webkit
先修复一下错误: sudo apt-get install -f
然后根据错误提示,缺少python-webkit包,这个包没法直接使用命令安装,我们可以下载.deb包安装。下载地址:
https://ubuntu.pkgs.org/16.04/ubuntu-universe-amd64/python-webkit_1.1.8-3.1_amd64.deb.html
接下来就是重新安装有道词典即可成功安装:sudo dpkg -i youdao-dict-0.1.0_all.deb
运行效果: