國內網銀安全控件多基於 Microsoft ActiveX 技術,原生 Firefox/Chrome 無法執行。透過 ies4linux 在 Wine 環境中安裝 Internet Explorer,即可於 Linux 使用網銀。
sudo sed -i '/^# deb.*universe/s/^# //' /etc/apt/sources.list
# 或手動編輯 /etc/apt/sources.list 確保 universe 已啟用
# 加入 WineHQ 簽鑰與倉庫(以 Ubuntu 22.04 jammy 為例)
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main'
sudo apt update
sudo apt install --install-recommends winehq-stable cabextract
wget https://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar xzf ies4linux-latest.tar.gz
cd ies4linux-*
./ies4linux
安裝過程會彈出選項視窗,依個人需求勾選(建議安裝 IE6/IE7)。完成後桌面會出現 IE 快捷方式。
將上述倉庫網址中的 jammy 替換為對應版本代號(dapper、edgy 等)。
sudo apt install fonts-wqy-zenhei fonts-wqy-microhei,並在 Wine 設定(winecfg)→ 整合 → 字型平滑 啟用。cabextract 已安裝;嘗試以管理員權限執行 IE(wine "C:\Program Files\Internet Explorer\iexplore.exe")。若 ies4linux 穩定性不足,可考慮: