Run Internet Explorer on Linux

Most Linux users would be appalled by the idea of attempting to contaminate a Linux installation with any Microsoft product, especially Internet Explorer. However, many Web sites don't render properly using regular Linux browsers, such as Firefox or Konqueror. Other sites either require ActiveX controls or are designed to work only with Internet Explorer. Also, how can you test your new Web design and JavaScript for IE if you're an Apache and Linux maven?

For those who may have the need for Internet Explorer without the need to move to another machine or reboot, there is a solution for you: an extremely useful project aptly named IEs4Linux. In this article, we describe how to install and begin using multiple versions of Internet Explorer using Wine and IEs4Linux.

What's IEs4Linux?
IEs4Linux is a small shell script that can be run via a console on any Linux machine with Wine installed. As the title suggests, it allows you to quickly and easily install that most infamous of Microsoft products: Internet Explorer.

The creator of IEs4Linux is Sérgio Luís Lopes Júnior, a 21 year old Brazilian student and self-proclaimed lover of Linux and OpenSource. Naturally, being open source, IEs4Linux is free. However, as with many people working on open source projects, Sérgio's funding comes from the community; if you found IEs4Linux helpful, you can PayPal him a few dollars to continue development of the project.

IEs4Linux relies on the Wine project to supply an implementation of the Microsoft Windows API. The IEs4Linux script actually downloads the required CAB files directly from the Microsoft site; then, using cabextract, copies the files to a new Wine profile. This way, your existing Wine profiles are not affected, and any other software you have running will be just fine. In addition to installing Internet Explorer versions 5, 5.5, and 6, IEs4Linux also can install Flash 9 for you from Adobe.

IEs4Linux is a GPL product; however, Internet Explorer is a copyrighted product of Microsoft. This means that you will need to be in possession of a valid Windows licence version greater than 95, although it will not be asked for during the installation process.

Author's note
For the purposes of this article, I'll assume you're running the latest version of Ubuntu as your Linux distribution. IEs4Linux will work with almost every distribution, but the installation routine varies. This article assumes that you already have Ubuntu Desktop installed and operational.

Depending on how you like to install your software, I have included two sets of instructions, first the graphical (GUI) method and lastly the console (CLI) method.

Installing the required packages
To install all the applications required to enable IEs4Linux to run properly, ensure that you have the Universe repositories enabled. Open the Software Sources configuration screen, which can be found under Toolbar | System | Administration | Software Sources.

Next, you need to select all the repositories for the CD-ROM/DVD option. You won't need this option. The online repositories are kept up-to-date, as shown in Figure A. Press the Close button when you're finished.

Figure A

Selecting the required repositories to install Wine and cabextract.

Now it's time to begin installation of the required packages. Go to Toolbar | System | Administration | Synaptic Package Manager. Once it opens, search for Wine and cabextract. Once you find them, press Apply, as shown in Figure B.

Figure B

Installing Wine and cabextract.

Kickin' it old school with the console
You can also obtain the files from the console prompt. To begin, open a console. You can do this by going to the toolbar and going to Application | Accessories | Terminal. In the terminal, run the command: apt-get update && apt-get install cabextract wine. The install process will begin after pressing [Enter]. The apt-get process download installs all the files and packages for wine for you.

Getting down to business
Now that you have Wine installed with cabextract, it's time to download the IEs4Linux files. You can either go to the IEs4Linux Web site, or return to a console to enter this command to download the latest IEs4Linux build:

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

Figure C shows what this looks like.

Figure C

Downloading the IEs4Linux Installer.

After you have downloaded the latest build tarball, you need to cd to the directory where you downloaded tarball to if you did not do so from the console. This can be done easily with the command cd ies4linux-*. Next, enter the command tar xzvf ies4linux-latest.tar.gz in the console to decompress the tarball and change directories into the build directory. Finally, to launch the IEs4Linux script that will begin the installation process, type ./ies4linux.

You will be lead through a text-based series of screens that will ask you questions about what versions of Internet Explorer you want to install, as shown in Figure D. The first question asked will be if you wish to install version 5 and 5.5 of Internet Explorer; you can make that decision for yourself. In addition to installing Internet Explorer, IEs4Linux will also install the Flash Player plug-in automatically.

Figure D

Running the IEs4Linux Installer.

After a few minutes, the script will download all of the required files and install them on your computer automatically. Additionally, links on your desktop will be created to Internet Explorer making for quick access. The Internet Explorer launch binaries will exist in the newly created directory bin in your home directory. For quick access on command line, run ~/bin/ie6 to launch Internet Explorer version 6. You'll see IE run, as shown in Figure E.

Figure E

You should now have Internet Explorer running in Linux.

Congratulations; you have successfully installed Internet Explorer version 5, 5.5, and 6 on your PC. With the assistance of IEs4Linux, it is possible to have Internet Explorer accessible to you as a tool on any Linux system that can run Wine.

Variations in other distributions
The install process for other distributions will be different according to that distro's package system. But the rest is the same after that. For example, in Gentoo, the series of commands would be:

emerge --sync && emerge wine cabextract.

For Fedora, the commands to install wine and cabextract are:

yum -y install wine*
yum -y install cabextract

For Mandriva, the directions are:

urpmi wine cabextract

For more distributions and instructions, please visit the IEs4Linux site.

Known issues
There are a number of known issues with the Internet Explorer version installed by IEs4Linux. Some of these include:

  • VML does not work.
  • PNG transparency does not work even when using hacks (a consequence of the "CSS filter" bug).
  • Windows Update does not work.
  • JavaScript error dialog does not open.
  • Modified toolbars are not saved.
  • ActiveX may not work with some special cases.

The install of Internet Explorer made by IEs4Linux doesn't have the JavaScript debugging enabled by default, which can be quite frustrating when you know there is a bug on the page, but can't get the error message. To get around this, you will need to enable JavaScript debugging.

In the menu bar, go to Tools | Internet Options to open the Internet Options dialog. Next, press on the Advanced tab and scroll down to the Browsing section. Uncheck the list item Disable Script Debugging.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

ZDNet Australia Live

Can #HP bounce back?: HP's move to cut 27,000 jobs, reinvest in research and development (R&D) and generally get... http://t.co/dlgAhwxb

Can HP bounce back? http://t.co/qLlHB5FV

It's nice to see Tas finally get some decent internet connectivity, for too long Tas has been stooged on decent internet connectivity but...

7 minutes ago by Jingles on NBN's Tassie upgrade to cost $1.3 million

Cloud inefficiency - Bad habits are hard to break: Cloud can save you a lot of money - if you use it effectively... http://t.co/oVoNx2na

by http://t.co/vmlLt4bh: Can HP bounce back?: HP's move to cut 27,000 jobs, reinvest in research and development ... http://t.co/EjWWU9O1

Can HP bounce back?: HP's move to cut 27,000 jobs, reinvest in research and development (R&D) and generally get ... http://t.co/KDGewBVH

Can HP bounce back?: HP's move to cut 27,000 jobs, reinvest in research and development (R&D) and generally get ... http://t.co/y2ajlh9V

Three tips for businesses to support connected customers: While the connected home offers benefits to the consum... http://t.co/psgHJelD

#Agedcare 30 servers to 7: BUPA redoes virtualisation: Most IT teams spend 90 per cent of today making sure that... http://t.co/HmVXHRQ7

[plug] #NBN cost-benefit analyses are so 2011 http://t.co/2mRUKI8G @TurnbullMalcolm has forgotten his CBA; sh/would he still do one? #zdnet

Can HP bounce back? http://t.co/LlAUcyYP

Who is Luke Hartsuyker? He must be the Apprentice FUDster. As PaulPC has already said regional consumers want, deserve and are entitled...

35 minutes ago by dickster on Regional review highlights NBN, mobile

Three tips for businesses to support connected customers http://t.co/W7Sr3RpD

by http://t.co/vmlLt4bh: Did RIM shelve plans to license BBM?: Research In Motion (RIM) had considered licensing ... http://t.co/z6VlO472

Did RIM shelve plans to license BBM? - ZDNet Australia http://t.co/j042NNOM

Did RIM shelve plans to license BBM? - ZDNet Australia http://t.co/qMNEifi1

Its good to see the NBN keeping up with the latest equipement & letting the people benefit from it. After all thats why it was a trial, ...

54 minutes ago by fibretech on NBN's Tassie upgrade to cost $1.3 million

#Google TV will revolutionize television once viewers understand it http://t.co/Pmie5zEC http://t.co/2GN4qz9j http://t.co/j3wf6jEF

RT @zdnetaustralia: NBN Co will spend $1.3 million upgrading some 700 network terminating units in Tasmania. http://t.co/6GWYMcZQ

Did RIM shelve plans to license BBM?: Research In Motion (RIM) had considered licensing BlackBerry Messenger (BB... http://t.co/G13GBXl4

Did RIM shelve plans to license BBM? http://t.co/KKPZVPOr

Did RIM shelve plans to license BBM? http://t.co/1AutUH8l

Are college students dependent on technology? http://t.co/4p3v9PZ9 via @ZDNet

30 servers to 7: BUPA redoes virtualisation http://t.co/dOR009Te

Govt urges telcos to team up against NBN Co http://t.co/Sn7pMhew

NBN's Tassie upgrade to cost $1.3 million http://t.co/iDlBr20I

Govt urges telcos to team up against NBN Co: The Department of Broadband, Communications and the Di... http://t.co/YVVOyRWA #suretelecom

by http://t.co/vmlLt4bh: NBN's Tassie upgrade to cost $1.3 million: NBN Co will spend $1.3 million on replacing o... http://t.co/FwL9gNKF

NBN's Tassie upgrade to cost $1.3 million: NBN Co will spend $1.3 million on replacing outdated network technolo... http://t.co/sIP3aI5l

RT @zdnetaustralia: Google found itself embroiled in a vicious tax debate this week. Serves it right? http://t.co/Ga14Yg6x ^ST

NBN's Tassie upgrade to cost $1.3 million: NBN Co will spend $1.3 million on replacing outdated network technolo... http://t.co/JYdFJbxj

NBN Co will spend $1.3 million upgrading some 700 network terminating units in Tasmania. http://t.co/6GWYMcZQ

30 servers to 7: BUPA redoes virtualisation: Most IT teams spend 90 per cent of today making sure that tomorrow ... http://t.co/XUeMXUbH

30 servers to 7: BUPA redoes virtualisation - ZDNet Australia http://t.co/PH4wzSvv

BUPA Aged Care CIO redoes virtualisation, achieves 30 servers to 7 http://t.co/apg5lb81 ^ST

30 servers to 7: BUPA redoes virtualisation: Most IT teams spend 90 per cent of today making sure that tomorrow ... http://t.co/a8M45uUs

Government urges telcos to team up with Telstra in negotiations with NBN Co http://t.co/TRCxJBxq ^jt

RT @zdnetaustralia: Government urges telcos to team up with Telstra in negotiations with NBN Co http://t.co/TRCxJBxq ^jt

Shadow Minister for Regional Communications Luke Hartsuyker has got it wrong. Regional consumers want improved mobile services AND the NB...

1 hour ago by PaulPC on Regional review highlights NBN, mobile

Just remember that Google haven't broken any laws here, they're just doing what all their other multinational competitiors do; minimise t...

2 hours ago by Pachanga on Much ado about Google's tax

ルイヴィトン バッグ : http://www.lovebagjp.com/ Louis Vuitton bags, Louis Vuitton pretension nose about,Louis Vuitton daydre...

2 hours ago by bundLourb on Reservoir blogs: Fan fakes Tarantino diary

シャネル バッグ : http://www.bagssalejp.org/ Chanel trap,chanel shekels,gucci bags,direct purse,poor recent Louis Vuitton keep...

4 hours ago by bybrinkLync on Reservoir blogs: Fan fakes Tarantino diary

I guess but in both cases, dead body!

14 hours ago by Doubt on National Botnet Network coming: Earthwave

I think it's for the very reasons you mention in your first paragraph that there is no CBA. With the ideological differences and vested ...

14 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

Good points; but how do you establish consensus about the terms of reference of a cost-benefit analysis? What is to be included? How far ...

15 hours ago by Gwyntaglaw on NBN cost-benefit analyses are so 2011

I live in a small country town & have done since 2002. When I got to this town it had no mobile phone & no broadband. The only reason w...

15 hours ago by fibretech on Regional review highlights NBN, mobile

Hi there, just became alert to your blog through Google, and found that it is really informative. I am going to watch out for brussels. I...

15 hours ago by Uttedsips on Fujitsu Stylistic ST5011

Like most things in life, the devil is in the details. If a cost benefit analysis included a societal element, I'm certain nobody on eit...

15 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

The coalition has done nothing else but keep changing their view over the last 2 years. -first it was "there is nothing wrong with the ...

16 hours ago by djz on NBN cost-benefit analyses are so 2011

Use the force Luke... FFS

16 hours ago by Beta on Regional review highlights NBN, mobile

michael kors outlet http://www.michael-kors-discount.com/#5923

16 hours ago by michael kors bag on Best iPhone travel apps

Hey butterflyeffecs and lex, Sorry you're not fans of this piece. But you're dead right in that it is the thoughts and experience of a se...

16 hours ago by LHopewell on Android fragmentation steers Vic Health

teen cams
http://www.aloe-vera.cz handjob

16 hours ago by MyncWenry on Fusion-io ioDrive (80GB)

We have fashional replica bags designer .Replica luxury bags sale here are perfect compromise of quality and price. The replica handbags ...

16 hours ago by Machelle on Telecom NZ CEO Paul Reynolds to leave

It's not a question of whether anyone at HSU would know how to do this, but whether they would have connections with people who could. T...

16 hours ago by meski on CT, phone clone

This story has been voted 12000 times in the last 24 hours!

20 hours ago, Is Bill Gates a great leader?

This story has been voted 10 times in the last 24 hours!

2 days ago, CeBIT 2012 opens: photos

This story has been voted 15 times in the last 24 hours!

2 days ago, Lenovo ThinkPad 3G tablet (32GB)

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar