Ubuntu下运行IE并非上策,不过对于做web前台开发的有些时候需要预览IE下的页面效果,因此有时候也是必须的,下面提供一个Ubuntu下安装IE的过程(注:运行在wine下),至少我尝试了,效果还算理想,具体操作如下:
1) 打开一个终端
2) 打开 /etc/apt/sources.list
sudo gedit /etc/apt/sources.list
3) 注释 (或添加):
deb http://us.archive.ubuntu.com/ubuntu edgy universe
4) 添加:
deb http://wine.budgetdedicated.com/apt edgy 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
Note for Dapper users: if you use ubuntu dapper, replace edgy with dapper on lines above. Note for Feisty users (7.04): if you use ubuntu Feisty, replace edgy with feisty in the lines above. Also replace gedit with kedit if running Kubuntu instead of Ubuntu.
注意在运行ies4linux时候,经常自动退出,你可到/home/用户/ies4linux-2.99.0下手动执行ies4linux
等待ies4linux把所需的IE核心文件下载安装完毕后(ies4linux操作界面有提示),在终端中运行: /home/用户/bin/ie6 即可启动IE
(我安装的是IE6,你也可以选择IE7)。