2 suwu150 suwu150 于 2017.01.05 15:44 提问

Ubuntu中怎么安装有道词典?安装时缺少依赖怎么办??

图片说明

1个回答

engchina
engchina   Rxr 2017.01.05 16:30
已采纳

编辑control文件,删除Depends里面的gstreamer0.10-plugins-ugly
具体操作如下

sudo dpkg -X ./youdao-dict_1.1.0-0-ubuntu_amd64.deb youdao-dict
sudo dpkg -e ./youdao-dict_1.1.0-0-ubuntu_amd64.deb youdao-dict/DEBIAN
sudo vi youdao-dict/DEBIAN/control

编辑前

 Depends: python3, python3-pyqt5, python3-requests, python3-xlib, tesseract-ocr, tesseract-ocr-eng, tesseract-ocr-chi-sim, tesseract-ocr-chi-tra, python3-pil, ttf-wqy-microhei, python3-lxml, python3-xdg, python3-pyqt5.qtmultimedia, python3-pyqt5.qtquick, python3-pyqt5.qtwebkit, gir1.2-appindicator3-0.1, python3-dbus, qtdeclarative5-controls-plugin, libqt5multimedia5-plugins, gstreamer0.10-plugins-ugly

编辑后

 Depends: python3, python3-pyqt5, python3-requests, python3-xlib, tesseract-ocr, tesseract-ocr-eng, tesseract-ocr-chi-sim, tesseract-ocr-chi-tra, python3-pil, ttf-wqy-microhei, python3-lxml, python3-xdg, python3-pyqt5.qtmultimedia, python3-pyqt5.qtquick, python3-pyqt5.qtwebkit, gir1.2-appindicator3-0.1, python3-dbus, qtdeclarative5-controls-plugin, libqt5multimedia5-plugins
sudo dpkg-deb -b youdao-dict youdaobuild.deb
sudo dpkg -i youdaobuild.deb

图片说明

refer url:http://www.cnblogs.com/scplee/p/5489024.html

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!