个人工具

“安装IE6.0”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
注意
安装 IEs 4 Linux
第37行: 第37行:
 
  cd ies4linux-*
 
  cd ies4linux-*
 
  ./ies4linux
 
  ./ies4linux
 +
 +
 +
7) 安装失败
 +
由于wine 1.2和wine 1.3使用了winepath代替wineprefixcreate,安装时会提示Your wine does not have wineprefixcreate installed.
 +
此时需修改ies4linux 2.99.0.1/lib/目录中的functions.sh、install.sh文件。
 +
使用gedit打开functions.sh,第242行
 +
 +
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
 +
}
 +
 +
install.sh文件,424行
 +
 +
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
 +
 +
修改后再次执行 ./ies4linux 既可正常安装。
  
 
== 注意 ==
 
== 注意 ==

2011年1月6日 (四) 00:08的版本

IEs 4 Linux的官方主页

IEs 4 Linux

什么是 IEs 4 Linux?

IEs 4 Linux 是在Linux(或者其他运行WINE的操作系统)中访问微软IE浏览器的更简便的工具。不需要点击,没有烦人的安装过程,没有Wine的复杂。只需要几个简单的语句,你就可以拥有三种版本的IE浏览器,用于测试你的网站。并且,这是免费和开源的。

安装 IEs 4 Linux

你必须首先激活universe源。建议你用官方的winehq ubuntu包:

1) 打开终端

2) 打开 /etc/apt/sources.list

sudo gedit /etc/apt/sources.list

3) 取消下面源前面的"#"注释,或者增加(如果没有的话):

deb http://us.archive.ubuntu.com/ubuntu gutsy universe

4) 增加这个源:

deb http://wine.budgetdedicated.com/apt gutsy main

5) 关闭gedit。升级并安装 wine 和 cabextract:

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install wine cabextract

6) 下载 IEs 4 Linux 并安装:

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


7) 安装失败 由于wine 1.2和wine 1.3使用了winepath代替wineprefixcreate,安装时会提示Your wine does not have wineprefixcreate installed. 此时需修改ies4linux 2.99.0.1/lib/目录中的functions.sh、install.sh文件。 使用gedit打开functions.sh,第242行

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 }

install.sh文件,424行

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

修改后再次执行 ./ies4linux 既可正常安装。

注意

使用Feisty或其他更早版本的用户请将源里的"gutsy"更换成你所用的版本,比如"feisty"或"edgy"等。 如果你用KUbuntu,请将gedit更改为kedit。

8.10版请将源列表部分的feisty改为interpid