I use Mandriva to develop my websites and it's real a pain to have to reboot into windows to test them in internet explorer... Is there a way to test them directly from within Mandriva?
Eternal problem indeed... On my own sites, I have about 60% visitors that use Internet Explorer, so I can't ignore those nasty IE bugs when I design my pages... Well, I was glad to find out that there IS a simple way to run Internet Explorer on Mandriva... Not only that, you can have IE 5, IE 6, and IE 7 all running at the same time, perfect for testing!
This tutorial will require three pieces of software:
- wine: the windows emulator for linux,
- cabextract: a software for extracting Microsoft cabinet files, also called .CAB files, on UNIX or UNIX-like systems,
- IEs4Linux: an easy script to get IE running on linux.
Wine and cabextract are available in Mandriva, so open up a terminal, log-in as root, install them and logout:
su
urpmi wine cabextract
exit
If you have any trouble, want to use a graphical interface, or do not understand this line, see my previous tutorial, install new software with Mandriva.
The next step is to download IEs4Linux, the stable version will get you IE 5 and IE 6, but if you want to get IE 7, you'll have to use the latest beta version, available here: IEs4Linux 2.5 beta 4. Once you downloaded it, go into your tmp directory, unpack the archive and simply run it:
- open a terminal, as a user (do not log-in as root),
- enter the temporary directory
cd ~/tmp/ - Unpack the archive
(replacetar xvfzp ~/Documents/ies4linux-2.5beta4.tar.gzDocuments/with the location where you saved the archive) - move into the ies4linux folder:
cd ies4linux-2.5beta4 - for installing IE 5.0, IE 5.5, or IE 6.0
./ies4linux - for installing IE 7.0 as well
./ies4linux --beta-install-ie7 - Optional cleanup step (once you're sure it worked), remove the temporary install folder
Be extremely careful with this command, it could wipe your home directory if you type it wrong!\rm -rf ~/tmp/ies4linux-2.5beta4
All basic options in the installation program are fine. You do not need to change anything. Once you're done, all IE applications will be stored in the .ies4linux/ folder in your home directory, with links for IE 5, IE 5.5, IE 6, and IE 7 in your ~/bin folder.
You're done. If you want to run your versions of IE, simply open a terminal and type
ie5
ie55
ie6
ie7
Fantastic isn't it! You can run various versions of IE, firefox, konqueror, and opera all on your linux box, and at the same time. It's really handy for website development!
Links:
- the wine project,
- cabextract
- IEs4Linux homepage: don't forget to make a donation!
- latest news for IEs4Linux, with instructions on how to deal with IE 7.
- Internet Explorer 7 on Linux on webexpose, where I first got the trick...
Butchu, 22 January 2007
You should check your sources for urpmi.
Wine is part of the distribution. I'm not sure what part of the distribution it's on (main, contrib, plf...) but I am sure that if all you sources are configured properly, wine will be available, that's how I did it myself!
You can check my previous tutorial about sources and software installation: http://soft.zoneo.net/Linux/install-software.php
barninga, 18 March 2007
thank you for your reply.
anyway, after some investigating i found that wine is not part of the 64bit mandriva 2007. it can be found only in the 32 bit repositories.
i discovered later why: after downloading the sources from winehq.com and compiling them, i also had to install a 32bit library in order to make it work.
i guess that the guys at mandriva did not want to mix 64 and 32 bit environments...
Butchu, 26 March 2007
Hmm, I did not think about this 32 vs 64 bits issue! Good that you pushed ahead and kept looking!
Corey Hollaway, 08 May 2007
I usually used QEMU to check mine and others' Web pages. Without having to run QEMU and just use WINE, it makes it much easier to check those Web pages! (QEMU allows me to run the Windows XP OS while still running Linux under a 1024x768 window)
Unfortunately, QEMU has something that I don't believe WINE has, and that's the Netscape 7 and 8 Web browser. I have to check my Web pages with Netscape 7 and 8 as well.
I'll be darned. There is a Netscape 7 browser for Linux! I'm so blessed!!
Rajiv R Suman, 05 September 2007
Dear Sir,
I installed wine and cabextract on my Mandriva Linux running on Intel P4 PC. Then I tried to install IEs4Linux, but got the ERROR message as shown below
-------------------------------------
$ ./ies4linux
IEs4Linux will:
- Install Internet Explorers: 6.0
- Using IE locale: EN-US
- Create Desktop icons
- Install everything at: /home/rrs/.ies4linux
[ OK ]
Downloading everything we need
swflash.cab 0%
[ OK ]
Installing IE 6
Initializing
Creating Wine Prefix
Extracting CAB files
/home/rrs/.ies4linux/downloads/ie6/EN-US/ADVAUTH.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/CRLUPD.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/HHUPD.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/IEDOM.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/IE_EXTRA.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/IE_S1.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/IE_S2.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/IE_S3.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/IE_S4.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/IE_S5.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/IE_S6.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/SETUPW95.CAB: no valid cabinets found
/home/rrs/.ies4linux/downloads/ie6/EN-US/VGX.CAB: no valid cabinets found
An error occured when trying to cabextract some files.
--------------------------------
Please help me, what is going wrong and how to install Internet Explorer for Linux on my PC.
with regards,
Rajiv R. Suman
India
Vaji, 22 July 2008
hi, I am trying to install ie in linux mandriva. I installed wine and cabextract but not able to get ie tar. It says connection timed out. Please look into that and help me install ie in mandriva. Regards Vaji
Lily19, 24 January 2010
When different persons are willing to read just about the <a href="http://www.exclusivepapers.com/essay-paper.php"&...[/link]">buy paper</a> related to this topic. Because the history essay creating has to be a very solid issue.
Evie18nP, 30 January 2010
The <a href="http://www.bestwritingservice.com">writing se...[/link]">buy essay papers</a> and this is good that you display scholars your stuff just about this good topic.
Essay Writing Service, 06 March 2010
Hi,
I was trying to run Internet Explorer 7 in Mandriva 2007, but I always failed. Thanks for this tutorial.
<a href="http://www.customessaywriting.net">Essay Writing Service</a>
barninga, 21 January 2007
am i missing something?
urpmi wine
does not install wine, but gwine (nothing to do with). apparently wine is not in the official mandriva 2007 software repositories...
thanks for any suggestion