Sunday 10 August 2008

Installing Internet Explorer on Linux / Ubuntu

Someone would ask: "Why would I need IE on Linux cause I got the newest and best browser ever called Firefox already installed?" :)
Sometimes the IE is necessary for web designers working on Linux to test their pages, or to browse sites that don't open in any browser except the IE.
Here I will explain how to install IE7 on Ubuntu box. Actually only the IE7 rendering engine will be installed on IE6 interface. I did this on my Ubuntu Hardy Linux installation, but the procedure should work on any Debian based distro.
Start by adding two new repositories:
$ sudo gedit /etc/apt/sources.list


Add (or uncomment) those two new lines:
deb http://us.archive.ubuntu.com/ubuntu hardy universe
deb http://wine.budgetdedicated.com/apt hardy main


Note: If using Ubuntu Gutsy type gutsy instead hardy in those two lines above.

Next, add the winebudget GPG key and install/upgrade wine and cabextract packages:
$ wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install cabextract wine


Now, download IEs4Linux and install it:
$ wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
$ tar zxvf ies4linux-latest.tar.gz
$ cd ies4linux-*
$ ./ies4linux --hack-ie7-proxy-settings


Check the versions of IE you want to install and also check to install flash plugin. If you get some kinda error try it without flash plugin.
Click Advanced button and check the box at the bottom to install version 7.0. Click OK and than OK again. When the IE6 is installed it will run. You need to configure your proxy settings now in the Internet Options dialog. Once done, close the browser and the installation of IE7 rendering engine should continue.
If the installation of IE7 won't continue try without the proxy hack argument --hack-ie7-proxy-settings.

That's it.

No comments: