- How to Run Internet Explorer 7, 8 and 9 in Linux with or without Wine
- IEs4Linux
- Running Recent IE Versions
- winetricks
- VirtualBox
- Azee
- 1:09 pm, Saturday, 28 September 13
- How to install Internet Explorer on Linux
- Steps to install Internet Explorer on Linux:
- Как установить Internet Explorer в Ubuntu (Gutsy Gibbon, Feisty Fawn, Edgy Eft и Dapper Drake)
How to Run Internet Explorer 7, 8 and 9 in Linux with or without Wine
Microsoft have a wonderfully long history of badly designed software that they’re proudly continuing to this day with the abomination of IE 9 and the ghastly sham that is Windows 7. It’s a tribute to the skills of the many hard-working marketing heads over at Redmond that despite the poor quality and the easy availability of superior cost-free alternatives, people the world over keep coming back to Microsoft like hookers on crack.
IEs4Linux
IE’s popularity has exasperated professional web developers ever since the internet became more than an academic curio in the late 90s. Other than simple dual booting, the first option for those who wanted to test their sites on IE was tatanka’s IEs4Linux, which uses wine to run the IE web installer. Just as if it were running under Windows, the installer connects to MS’s servers, downloads, and then installs IE on your Linux machine. It’s still available, but has for the most part been superseded by the winetricks installation described below.
Running Recent IE Versions
However, IE 6 usage has finally shrunk down to a mere couple of percent of web users, and can at last be ignored for the vast majority of web sites. Sure, there are people out there using IE 6, but in most cases they can be safely ignored as such people — with their ancient dusty desktops clunking along — are, to be blunt, unlikely to be big spenders on the internet.
More recent versions however remain popular, and while standards support is much better now than it used to be, there are still gotchas that will destroy your IE-using customers’ confidence if allowed to make their way onto a live web site.
If your only concern is styling, and your site uses no fancy JavaScript, you may be able to get by using browsershots.org which will produce screenshots of your site on a variety of browsers. For anything else however, you’re going to need a running version of the browser in question.
winetricks
winetricks can install IE 6, 7 and 8 using the Windows installer in much the same way as IEs4Linux does above. Unfortunately, IE 9 cannot be installed this way, and if you want more than one of IE 6, 7 and 8 available at the same time, you’ll need to install each with a different WINEPREFIX (as shown above). During the installation, uncheck the ‘Install updates’ option when asked and choose ‘Restart later’ at the end. Installation is straightforward though:
Note we’re also installing crypt32 for IE8 — a workaround for a crash in ntdll that otherwise occurs as soon as you try to interact with the browser. Instead of the crash, you will now see this error:
Click OK, which should bring up IE’s ‘Manage Add-Ons’ dialog, which you can just close and then carry on to do whatever dastardly scheme you’d needed IE 8 for.
You can then run your copy of IE thus, changing WINEPREFIX according to the IE version you want:
You may well encounter stability problems however, and you’ll notice some graphical glitchiness, particularly when scrolling. Some people may also have a legal problem installing IE 7/8 this way, because the licences require you have a licence for Windows. This condition sounds a bit anti-competitive to me, and there’s debate over whether it would hold up in a non-US court; nevertheless it may rule out the wine solutions for any companies or individuals that do not own a copy of Windows (note that Windows does not need to be installed on the machine in question, or indeed on any machine: you or your company just need to own a Windows licence). The offending passages are highlighted below:
VirtualBox
This leaves the final and most satisfactory option — running Windows in a Virtual Machine with an image containing the IE version you’re targeting. You may think this also requires a paid-for licence from Redmond, but this is not the case. Microsoft itself has made virtual machine images freely available for each of IE 6, 7, 8 and 9 to try and encourage web designers and developers to support their tatty software.
Whilst this is the best option, the downside is that these images contain a full Windows setup, and therefore consume a huge amount of disk-space: around 10 GB for each version you plan to test. Running them is also rather demanding on system resources. VirtualBox is Open Source (GPLv2), and will need to be installed first. Most distros will have it in their package managers. In Ubuntu, the package is virtualbox-4.1:
In Arch Linux, it’s just virtualbox; however additional packages are needed for the necessary kernel modules:
Next get the shell script that some very nice fellow has made available on GitHub which handles the downloading and setup of the VHDs.
Azee
1:09 pm, Saturday, 28 September 13
Its good to see this much information. By the way. Much simpler way to install IE8 or 7 through winetricks is:
in terminal type
wine ‘C:\Program Files\Internet Explorer\iexplore’
How to install Internet Explorer on Linux
As Internet Explorer is a Windows application not designed for other operating systems, it’s necessary to use workarounds to run it on Linux. There are two primary methods: using a Windows virtual machine or utilizing the wine application, which is specifically developed to run Windows programs on Linux.
ies4linux is a tool that simplifies the installation of Internet Explorer using wine. By following these steps, you can install Internet Explorer on Linux with ies4linux via the terminal.
Steps to install Internet Explorer on Linux:
$ sudo apt update && sudo apt install --assume-yes wine cabextract
$ wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz --2019-08-27 16:08:05-- http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz Resolving www.tatanka.com.br (www.tatanka.com.br). 69.163.217.24 Connecting to www.tatanka.com.br (www.tatanka.com.br)|69.163.217.24|:80. connected. HTTP request sent, awaiting response. 200 OK Length: 332341 (325K) [application/gzip] Saving to: `ies4linux-latest.tar.gz' 100%[======================================>] 332,341 277K/s in 1.2s 2019-08-27 16:08:07 (277 KB/s) - `ies4linux-latest.tar.gz' saved [332341/332341]
$ tar -xf ies4linux-latest.tar.gz
$ ies4linux-*/ies4linux --full-help Usage: ./ies4linux [OPTIONS] This script downloads and automatically installs multiple versions of Microsoft Internet Explorer on Wine. Without any option, IEs4Linux will: - install IE6 - install Adobe Flash 9 - create icons on Desktop and Menu - use folder: /home/user/.ies4linux You can configure other things: --install-ie55 Install IE5.5 in BASEDIR/ie55/ --install-ie5 Install IE5 in BASEDIR/ie5/ --install-corefonts Install MS Core Fonts (corefonts.sf.net) --no-flash Don't install Adobe Flash Player 9 --no-ie6 Don't install IE 6 --no-desktop-icon Don't create an icon in Desktop --no-menu-icon Don't insert icon on Menu --full-help Display all possible options Configurations: --locale LOCALE The locale for the installation [EN-US] --wget-flags FLAGS Extra flags for wget [-c ] --list-locales Display all possible locales and exit Directories: --basedir BASEDIR Base location for installs [/home/user/.ies4linux] --bindir BINDIR Location of your bin folder [/home/user/bin] --downloaddir DLDIR Where downloads will go [BASEDIR/downloads] Other options: --no-gui Don't show gui, perform an automatic installation --gui gtk|kommander Force use of a specific user interface --no-color Don't show colors --debug Run in DEBUG mode --help / -h Display help with simple options Beta options: --beta-install-ie7 Install Internet Explorer 7 (BETA INSTALLER!) IEs4Linux can do other useful (?!) things: --install-ie1 Install IE 1.0 --install-ie15 Install IE 1.5 --install-ie2 Install IE 2.0
Как установить Internet Explorer в Ubuntu (Gutsy Gibbon, Feisty Fawn, Edgy Eft и Dapper Drake)
Эта статья показывает как установить Internet Explorer трех разных версий (6.0, 5.5 и 5.0) в Ubuntu Feisty Fawn, Edgy Eft и Dapper Drake (проверено также в Gutsy Gibbon). Это полезно, например, для веб-дизайнеров, перешедших на Linux, но которым необходимо тестировать их сайты в Internet Explorer. Также остались еще сайты, работающие только в Internet Explorer.
Я также не даю гарантий что это заработает у вас!
1 Вступительные заметки
Существует пакет названный IEs4Linux который позволяет легко установить 3 версии Internet Explorer на вашу Linux систему. В этой статье я покажу как его исользовать.
Но перед началом вам следует сначала прочесть эту страницу: http://www.tatanka.com.br/ies4linux/page/Legal_notices. IEs4Linux — GPL програмное обеспечение, но Internet Explorer не является таковым, это проприетарное ПО со своей собственной лицензией. И если вы хотите установить Internet Explorer на вашу Linux систему, у вас должна быть действующая лицензия Microsoft Windows, иначе установка Internet Explorer будет нелегальной.
2 Правка /etc/apt/sources.list
Для установки IEs4Linux, мы должны внести изменения в /etc/apt/sources.list.
2.1 Ubuntu Feisty Fawn
В Ubuntu Feisty Fawn, у нас должны быть строки deb de.archive.ubuntu.com/ubuntu feisty universe и deb wine.budgetdedicated.com/apt edgy main (да, edgy правильно, т.к. этот репозиторий еще пока не имеет паетов для Feisty, но к счастью папеты для Edgy также работаюти в Feisty) в /etc/apt/sources.list:
sudo vi /etc/apt/sources.list
Затем надо выполнить команду:
для обновления базы пакетов.
2.2 Ubuntu Edgy Eft
В Ubuntu Edgy Eft, у нас должны быть строки deb de.archive.ubuntu.com/ubuntu edgy universe и deb wine.budgetdedicated.com/apt edgy main в /etc/apt/sources.list:
sudo vi /etc/apt/sources.list
для обновления базы пакетов.
2.3 Ubuntu Dapper Drake
В Ubuntu Dapper Drake, у нас должно быть: deb de.archive.ubuntu.com/ubuntu dapper universe и deb wine.budgetdedicated.com/apt dapper main in /etc/apt/sources.list:
sudo vi /etc/apt/sources.list
для обновления базы пакетов.
3 Установка wine и cabextract
Следующее что нам надо установить wine and cabextract например так:
sudo apt-get install wine cabextract
Если у вас спросили об установке этих пакетов без подтверждения ответьте положительно
(Install these packages without verification [y/N]?)
root@falko-desktop:~# sudo apt-get install wine cabextract
Reading package lists… Done
Building dependency tree
Reading state information… Done
cabextract is already the newest version.
The following NEW packages will be installed:
wine
0 upgraded, 1 newly installed, 0 to remove and 90 not upgraded.
Need to get 9476kB of archives.
After unpacking 44.4MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
wine
Install these packages without verification [y/N]? — y
4 Установка IEs4Linux
Для установки IEs4Linux, мы делаем это (по-прежнему от обычного пользователя):
Вам зададут несколько вопросов:
Welcome, falko! 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 ] — y
And do you want to install IE 5.01 SP2? [ y / n ] — y
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 EN-US. Hit enter to keep it or choose a different one: — [Укажите предпочитаемую локаль или нажмите ENTER для использования EN-US.]
PS для Gutsy Gibbon работает вариант с Feisty Fawn