经典重现 Ubuntu 10.04安装IEs4linux及相关问题的解决
[日期:2010-09-08] 来源:Linux公社  作者:LinuxIDC.com
 

随着软件的不断更新变化,有些着软件因为时间久了,或者原来软件的作者已经另谋高就没有兴趣等等,已经没 有人去维护他,有时旧有的软件己经无法在安装或使用了,好像IEs4linux就是其中一个,目前己经用不到他了,不过我们可以把原始码稍为修改了一下, 就能找到方法让旧爱复活在Ubuntu 10.04 Wine 1.3下安装。

其实也不是太难搞定,只因为IEs4linux需要用到wineprefixcreate,而新版的Wine 1.3没有这个程序,就会导致安装失败,新版的Wine是用winepath取代,我们只要把安装的原始码修正一下,就能正常安装IEs4linux了, 现在已经把IEs4linux修正了,打包放上来,有需要的请下载安装了。

 

文中要用到的修改过的IEs4linux在FTP里

----------------------------
FTP地址:ftp://www.6688.cc/

用户名:www.linuxidc.net

密码:www.6688.cc

在2010年LinuxIDC.com\9月\经典重现 Ubuntu 10.04安装IEs4linux及相关问题的解决\
----------------------------

我们先来看在Ubuntu 10.04 Wine 1.3下安装没有修改的IEs4linux时出现的情况。

经典重现 Ubuntu 10.04安装IEs4linux及相关问题的解决_IE

Installing IE 6
 Initializing
 Creating Wine Prefix
/home/linuxidc/下载/ies4linux-2.0/lib/install.sh: line 17: wineprefixcreate:找不到命令
Your wine does not have wineprefixcreate installed. Maybe you are running an old Wine version. Try to update it to the latest version.

前面也是一直顺利的,最后出现wineprefixcreate:找不到命令。

我把全部的代码贴上看看

linuxidc@linuxidc-laptop:~/下载/ies4linux-2.0$ ./ies4linux
WARNING: unknown locale setting; no translations available.
IEs4Linux 2.0 is developed to be used with recent Wine versions (0.9.x). It seems that you are using an old version (wine-1.3.1). It's recommended that you update your wine to the latest version (Go to: winehq.com).

Welcome, linuxidc! I'm IEs4Linux.
I can install IE 6, 5.5 and 5.0 for you easily and quickly.
You are just four 'enter's away from your IEs.

I'll ask you some questions now. Just answer y or n (default answer is the bold one)

IE 6 will be installed automatically.
Do you want to install IE 5.5 SP2 too? [ y / n ]

And do you want to install IE 5.01 SP2? [ y / n ] n

IEs can be installed using one of the following locales:
EN-US PT-BR DE FR ES IT NL SV JA KO NO
DA CN TW FI PL HU AR HE CS PT RU EL TR
Default is . Hit enter to keep it or choose a different one:

这里直接输入cn回车

By default, I will install everything at /home/linuxidc/.ies4linux
I will also install Flash 9 plugin and create Desktop shortcuts.
Is that ok for you? (To configure advanced options type n) [ y / n ] y

Your wine does not have wineprefixcreate installed. Maybe you are running an old Wine version. Try to update it to the latest version.

Installing IE 6
 Initializing
 Creating Wine Prefix
/home/linuxidc/下载/ies4linux-2.0/lib/install.sh: line 17: wineprefixcreate:找不到命令
Your wine does not have wineprefixcreate installed. Maybe you are running an old Wine version. Try to update it to the latest version.

原来最新的Wine 1.2是没有wineprefixcreate的,那我们现在用LinuxIDC.com提供的修改过的IEs4linux看看。

下载ie6.tar.bz2与ies4linux-2.99.0.1.tar.bz2后解压到同一目录。

经典重现 Ubuntu 10.04安装IEs4linux及相关问题的解决_ubuntu_02
经典重现 Ubuntu 10.04安装IEs4linux及相关问题的解决_ubuntu_03

然后进到 ies4linux-2.99.0.1目录。

下图,输入./ies4linux --no-gui --no-flash

开始安装

经典重现 Ubuntu 10.04安装IEs4linux及相关问题的解决_ubuntu_04

看看 

 

linuxidc@linuxidc-laptop:~/桌面/Linux$ ./ies4linux --no-gui --no-flash
IEs4Linux 2 is developed to be used with recent Wine versions (0.9.x). It seems that you

are using an old version. It's recommended that you update your wine to the latest version

(Go to: winehq.com).

IEs4Linux will:
  - Install Internet Explorers: 6.0
  - Using IE locale: EN-US
  - Install everything at: /home/linuxidc/.ies4linux
[ OK ]

Downloading everything we need
  Downloading from microsoft.com:
   DCOM98.EXE
   100% mfc42.cab
   249973USA8.exe
   100% ADVAUTH.CAB
   100% CRLUPD.CAB
   100% HHUPD.CAB
   100% IEDOM.CAB
   100% IE_EXTRA.CAB
   100% IE_S1.CAB
   100% IE_S2.CAB
   100% IE_S5.CAB
   100% IE_S4.CAB
   100% IE_S3.CAB
   100% IE_S6.CAB
   100% SETUPW95.CAB
   100% FONTCORE.CAB
   100% FONTSUP.CAB
   100% VGX.CAB
   100% SCR56EN.CAB
[ OK ]

Installing IE 6
  Initializing
  Creating Wine Prefix
  Extracting CAB files
  Installing IE 6
  Installing DCOM98
  Installing TTF Fonts
  Installing ActiveX MFC42
  Installing RICHED20
  Installing registry
  Finalizing
[ OK ]

IEs4Linux installations finished!

To run your IEs, type:
 ie6

linuxidc@linuxidc-laptop:~/桌面/Linux$

经典重现 Ubuntu 10.04安装IEs4linux及相关问题的解决_IE_05
 
IEs4Linux的安装完成!

 

http://www.linuxidc.com/Linux/2010-09/28479p2.htm