Ubuntu下如何安装IE6
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.list3) Uncomment (or add) following lines:
deb http://us.archive.ubuntu.com/ubuntu edgy universe4) Add this line:
deb http://wine.budgetdedicated.com/apt edgy main5) 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
<div class="postbody" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 1em; line-height: 16px; font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif;">可以通过修改ies4linux 2.99.0.1/lib的functions.sh、install.sh来简单解决ie6的安装问题。
在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就好了,很快)
页:
[1]