Only hope it's useful for guys have no choice but still have to use ie6, god damn it~
You have to enable universe packages first. It is also recommended that you use the official winehq ubuntu package:
1) Open a terminal
2) Open /etc/apt/sources.list
sudo gedit /etc/apt/sources.list
3) Uncomment (or add) following lines:
deb http://us.archive.ubuntu.com/ubuntu edgy universe
4) Add this line:
deb http://wine.budgetdedicated.com/apt edgy main
5) Close gedit. Update and install wine and cabextract:
sudo apt-get install wine
6) Download IEs 4 Linux and install
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz tar zxvf ies4linux-latest.tar.gz cd ies4linux-* ./ies4linux
.
Notice:如果第6部安裝時出現Your wine does not have wineprefixcreate installed. Maybe you are running an old Wine version. Try to update it to the latest version提示,別急,終端中輸入wine --version,看看你的wine版本是不是高於1.0, wine1.0後的版本中沒有wineprefixcreate 命令,現在的wine是winepath
在install.sh 搜索一下wineprefixcreate
subsection $MSG_CREATING_PREFIX
set_wine_prefix "$BASEDIR/ie1/"
wineprefixcreate &> /dev/null
clean_tmp
改爲:
subsection $MSG_CREATING_PREFIX
set_wine_prefix "$BASEDIR/ie1/"
winepath &> /dev/null
clean_tmp
在functions.sh 搜索一下wineprefixcreate
function create_wine_prefix {
if which wineprefixcreate &> /dev/null; then
( wineprefixcreate 2>&1 ) | debugPipe
else
error $MSG_ERROR_NO_WINEPREFIXCREATE
fi
}
改爲:
function create_wine_prefix {
if which winepath &> /dev/null; then
( winepath 2>&1 ) | debugPipe
else
error $MSG_ERROR_NO_WINEPREFIXCREATE
fi
}
保存後,有的朋友可能直接GUI運行ies4linux會有問題,所以咱終端中執行:(這樣裝的IE默認沒有flash支持,默認裝的flash版本比較老,看網頁遇到需要flash的時候,手動點下安裝flash就好了,很快)
./ies4linux --no-gui --no-flash
然後會在bin中出現ie6,運行它就可以了,bin的目錄看下終端運行結果裏有
至此結束,希望對大家有用