萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 作業系統 >  >> Linux 教學

Ubuntu 12.04 安裝 IEs4Linux 運行 IE6/IE7:Wine 環境、常見錯誤修復與桌面捷徑建立

IEs4Linux 讓 Linux 透過 Wine 運行 IE6/IE7,解決網銀、舊系統相容性需求。本文詳述 Wine 安裝、IEs4Linux 下載與終端安裝參數、兩大常見錯誤修復(wineprefixcreate→winepath、下載鏡像替換)、桌面捷徑建立完整流程。

1. 安裝 Wine 環境

sudo apt-get install wine cabextract

2. 下載並解壓 IEs4Linux

wget https://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-2.99.0.1

3. 終端安裝(推薦 --no-gui 穩定)

# 安裝 IE6 + IE7 Beta
./ies4linux --no-gui --beta-install-ie7 --locale CN --install-corefonts

# 僅安裝 IE6
./ies4linux --no-gui --install-ie6 --locale CN --install-corefonts

參數說明:--locale CN 簡體中文,--install-corefonts 安裝微軟核心字體(防止方框亂碼)。

4. 常見錯誤修復

錯誤 1:Your wine does not have wineprefixcreate installed

Wine 1.4+ 以 winepath 取代 wineprefixcreate,修改兩檔:

# lib/install.sh 第 426 行
wineprefixcreate &>/dev/null  →  winepath &>/dev/null

# lib/functions.sh 第 242 行
if which wineprefixcreate → if which winepath

錯誤 2:下載緩慢/中斷

# lib/install.sh 第 119 行
https://internap.dl.sourceforge.net/...  →  https://nchc.dl.sourceforge.net/project/corefonts/the%20fonts/final/

# lib/functions.sh 第 126 行
error $MSG_ERROR_DOWNLOADING  →  註解錯誤行,加 download $URL 實現斷點續傳

5. 建立桌面捷徑

# 安裝後捷徑位於 ~/bin/ie6、~/bin/ie7
cp ~/bin/ie6 ~/Desktop/
# 或命令啟動
wine iexplore.exe 2>&1

提示

  • 安裝卡住時檢查 ~/bin/ 是否已有可執行檔,直接運行即可。
  • 預設下載目錄 ~/.ies4linux/downloads,可預先放入離線安裝包。
copyright © 萬盛學電腦網 all rights reserved