1. 安裝過程
向日葵官網下載
https://sunlogin.oray.com/download/
如果沒有報錯就成夠了,但是有時會顯示如下情況,安裝失敗
報錯libwebkitgtk-3.0-0 is not installed,缺少依賴問題
Selecting previously unselected package sunloginclient.
(Reading database ... 255622 files and directories currently installed.)
Preparing to unpack SunloginClient-10.0.2.24779_amd64 (1).deb ...
Unpacking sunloginclient (10.0.2-24779) ...
dpkg: dependency problems prevent configuration of sunloginclient:
sunloginclient depends on libwebkitgtk-3.0-0; however:
Package libwebkitgtk-3.0-0 is not installed.
dpkg: error processing package sunloginclient (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Errors were encountered while processing:
sunloginclient
2. 解決方案
在/etc/apt/source.list 里加上deb http://cz.archive.ubuntu.com/ubuntu bionic main universe
sudo gedit /etc/apt/source.list
#然后復制 deb http://cz.archive.ubuntu.com/ubuntu bionic main universe 到文件夾
sudo apt-get update
sudo apt-get install -f
就可以修復依賴了
然后重新執行
sudo dpkg -i *** # ***為下載軟件包的名稱
