
Aug 10
Cross Browser Testing on Linux
This post was updated on Sat 21st August 2010 to bring it up-to-date.
Browser Roundup
Below is a quick overview of the most popular browsers and their native support for Linux. Each one is discussed further down.
| Browser | Logo | Linux Client | Wine | Market Share* | Client Download |
| Internet Explorer | ![]() |
52% | www.microsoft.com | ||
| Firefox | ![]() |
N/A | 31% | www.mozilla.com/firefox/ | |
| Chrome/Chromium | ![]() |
N/A | 10% | www.google.com/chrome | |
| Safari | ![]() |
5% | www.apple.com/safari/ | ||
| Opera | ![]() |
N/A | 2% | www.opera.com/download/ |
* Very rought market share estimate for August 2010
Internet Explorer on Linux
As a proprietary Microsoft product Internet Explorer is only available for Windows based Operating Systems. However it can be run under Wine fairly easily. If you only need IE6 take a look at Installing IE6 on Ubuntu via a Wine utility called Winetricks. There are a variety of online resources that will explain how to install various other versions of IE on Linux.
Note: Although you will not be asked for a license by law you will probably need one for a legal installation.
Alternatively if you don’t want to install Internet Explorer(s) on Linux, which is beyond understandable, there are some online resources that can take screenshots of renders on your behalf. Two popular ones are IENetRenderer and Browsershots.
Firefox for Linux
The vast majority of Linux distributions come pre-installed with Firefox as the default browser. If, for whatever reason, you don’t have Firefox you can grab it at www.mozilla.com/firefox/
Chrome / Chromium for Linux
Both Google Chrome and Chromium now have native clients for Linux. Chromium (the unbranded and open source version of Google Chrome) is available in the Ubuntu repositories and can be installed via Applications > Ubuntu Software Centre. Alternatively you can download and compile dev snapshots from http://build.chromium.org/buildbot/snapshots/ or download Google Chrome from www.google.com/chrome
Safari on Linux
Apple’s Safari browser isn’t available for Linux. However it should install and work perfectly under Wine without any additional tinkering or configuring.
Alternatively, if you don’t want to use Wine, you could use Epiphany or Chromium for layout testing as they both use the same rendering engine (WebKit) and should suffice in most situations. Both are available in the Ubuntu repositories and Software Centre.
Opera for Linux
Opera is available in a variety of packages and archives for various distributions.
You can get Opera from www.opera.com/browser/download/
More to come shortly on cross-platform topics like fonts…
Related posts:
- Installing Internet Explorer 6 (IE6) on Linux (Ubuntu)
- 5 Essential Web Development Addons for Firefox







David Hopkins 11 August 2009 12:40 pm
Hi,
I am also a Linux user. I didn’t know that you could test Chrome or Safari in Linux. Will have to get those setup.
In the case of IEs for Linux, I find those to be very poor. They don’t have features like the alpha image loader. So I do IE debuging in VMWare.
Gibbs 12 August 2009 12:31 pm
I noticed that about IE too. It’s good in terms of other quirks such as positioning but a lot of the filters don’t work like the alpha filter you mentioned.
Using VMWare does kind of defeat the point as some people may not have Windows. In that case I would suggest using Browsershots, not a brilliant solution but one nonetheless. Thanks for the feedback.
somchart 12 December 2009 4:09 am
Now my company use UBUNTU, it make I tried start to learn about cross browser with ubuntu.
I installed IEs 4 Linux on my OS, but IE is very slowly, how can I config it for better.
Thank
Gibbs 15 December 2009 10:16 am
Hi Somchart. I don’t think you can do much to improve the performance. It also eats a lot of memory in the process. IEs 4 Linux uses Wine so it isn’t a native application.
As pointed out by David a lot of “features” such as filters don’t work either. However, with that being said, it should still be a good enough method purely for testing layout quirks.