suwu150
suwu150
采纳率44.3%
2017-01-05 07:44 浏览 4.0k

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

图片说明

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答 默认 最新

  • 已采纳
    engchina engchina 2017-01-05 08: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

    点赞 评论 复制链接分享
  • qq_39700392 GodLovesJonny 2019-02-27 17:34

    qtdeclarative5-controls-plugin缺失怎么办。。

    点赞 评论 复制链接分享

相关推荐