There is no Google Chrome for Linux yet, and the first beta version is probably still a few weeks away, but Google has been uploading development snapshots of Chromium for Linux since March. Chromium is the open source project behind Chrome and is basically Chrome without the Google branding. It has reached a point now where it's useable and quite stable.




The first thing you'll notice when using Chromium is that it's quite fast and lightweight. To confirm the initial impression I selected a few browser benchmarks and compared Firefox 3.5b4 with Chromium. The new TraceMonkey JavaScript engine, that was supposed to regain the performance crown for Mozilla, is already enabled by default in the latest Firefox beta version. All tests have been run on an Acer Aspire One A110 with Intel Atom N270 processor.
The V8 Benchmark Suite is used by Google to finetune JavaScript performance. Firefox only scores 54 while Chromium scores 733, which certainly is impressive, despite not being a fair comparison.
A more neutral benchmark suite is the SunSpider JavaScript Benchmark. The authors are the WebKit developers, but Mozilla also uses it for Firefox benchmarks. Chromium completes the tests in 38.20 seconds while Firefox needs 81.42 seconds. You can compare the Chromium results here, and the Firefox results here.
Futuremark Peacekeeper is probably the only benchmark suite that's completely neutral, as all tests mimic functions commonly used by the most popular websites. Chromium scores 659 and Firefox 220 points. More details are in the screenshots below, but note that the bars use a different reference value and are a bit misleading.


The results confirm that Chromium is very fast. And it hasn't even entered beta phase yet. Google further claims that no work on performance optimization has been done so far at all. The benchmarks do also not show other performance advantages Chromium has over Firefox. One such advantage is that Chromium, unlike Firefox, is multithreaded.
Once a final version is released Google Chrome should become the first choice for netbooks running Linux. What currently makes Firefox the browser of choice for many are useful extensions, which Google Chrome lacks. Google already announced plans to add support for extensions, but it's probably still a few months away.
If you're eager to try Chromium yourself, and are using a recent version of a major Linux distribution like Ubuntu or Fedora, you can just use one of the unofficial repositories. Alternatively download the latest snapshot directly from Google here, or distribution specific packages here.
It's not so simple if you're using the pre-installed Linux on the Acer Aspire One. Chromium requires more recent libraries than already installed, and yum cannot update them due to unresolved dependencies. But you can download and extract the required libraries and make Chromium use them, without interfering with the already installed system libraries.
sudo mkdir -pm 777 /opt/chrome-linux/libs
cd /opt/chrome-linux/libs
wget http://koji.fedoraproject.org/packages/gcc/4.3.2/7/i386/libstdc++-4.3.2-7.i386.rpm
wget http://mirrors.kernel.org/fedora/updates/9/i386.newkey/nspr-4.7.3-1.1.fc9.i386.rpm
wget http://mirrors.kernel.org/fedora/updates/9/i386.newkey/nss-3.12.2.0-3.fc9.i386.rpm
wget http://mirrors.kernel.org/fedora/updates/9/i386.newkey/pango-1.20.4-1.fc9.i386.rpm
wget http://koji.fedoraproject.org/packages/cairo/1.6.4/1.fc9/i386/cairo-1.6.4-1.fc9.i386.rpm
wget http://mirrors.eu.kernel.org/fedora/updates/10/i386/pixman-0.12.0-3.fc10.i386.rpm
for i in `ls *rpm`; do rpm2cpio $i | cpio -idv; done; mv lib/* usr/lib/* $PWD
for i in `ls lib*so`; do ln -s $i $i.0d; ln -s $i $i.1d; done
cat << 'EOF' > /opt/chrome-linux/libs/chrome.sh
#!/bin/sh
export LD_LIBRARY_PATH=/opt/chrome-linux/libs:$LD_LIBRARY_PATH
/opt/chrome-linux/chrome
EOF
chmod 755 /opt/chrome-linux/libs/chrome.shDownload Chromium and extract it.
wget -N http://build.chromium.org/buildbot/continuous/linux/LATEST/chrome-linux.zip
sudo unzip -o chrome-linux.zip -d /opt
sudo chown -R user /opt/chrome-linuxOpen an editor.
sudo mousepad /usr/share/applications/chromium.desktopPaste the following lines into the editor and save the file.
[Desktop Entry]
Name=Chromium
Comment=Chromium
Exec=/opt/chrome-linux/libs/chrome.sh
Icon=/opt/chrome-linux/chrome.png
Terminal=false
Type=ApplicationDownload an icon and add it to the desktop.
wget http://src.chromium.org/svn/trunk/src/chrome/app/theme/chromium/product_logo_256.png
mv product_logo_256.png /opt/chrome-linux/chrome.png
dca add 10 "file='/usr/share/applications/chromium.desktop'"To update Chromium just re-download and extract it. Personal settings are kept in the home directory and will be preserved. A new snapshot is usually uploaded every few hours, so it's a bit pointless to try and keep up with it. The latest build number is displayed here.


mike
wget -N http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/`curl -s http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST`/chrome-linux.zip
Thanks for the clear instructions and superb blog - which since I found it have been very very happy.
Thanks!
while installing Chrome, I received the following error:
Failed dependencies:
libstdc++ = 4.1.2-33 is needed by (installed) libstdc++-devel-4.1.2-33.i386
libstdc++ = 4.1.2-33 is needed by (installed) gcc-c++-4.1.2-33.i386
I would appreciate any help you could give me
Have followed your instructions to the letter (several times) and whilst I have 2 Chromium shortcuts (oopps) none of them work. Have tried the latest version too. Have a feeling its the editor. Do I need to save to a particular location? Running linpus original
Thanks
Tom
The prime reason why I mostly use Firefox, instead of Epiphany or Opera, is that I can install the add-ons Adblock Plus, NoScript and Media Player Connectivity. Does Chromium offer similar functionality?
Thanks Tim
Your mission -should you decide to accept it- would be to cast your magic on some step by step instructions on what could work on the AA1.
Humbled and in awe as always!
Terry
Pirut
[user@localhost ~]$ pirut
Unable to import modules. Maybe you're not running under X?
Pup
[user@localhost ~]$ pup
Traceback (most recent call last):
File "/usr/sbin/pup", line 32, in {module}
import gtk
File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48, in {module}
from gtk import _gtk
ImportError: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: g_assertion_message_expr
"I've had to replace < brackets with { brackets due to tags not allowed around module"
Best Regards Tim
Is the command:
wget http://kojipkgs.fedoraproject.org/packages/pango/1.18.4/1.fc8/i386/pango-1.18.4-1.fc8.i386.rpm
and then
yum update pango --force
Please post correct code to revert back to fc8 version of pango.
Thanks Tim
Cheers Tim
The trick is this: unpack the rpms contents in a isolated directory, for example, /opt/chrome-linux/libs
Then, invoke chromium with this command:
LD_LIBRARY_PATH=/opt/chrome-linux/libs:$LD_LIBRARY_PATH /opt/chrome-linux/chrome
Yeah flash no workie for me either. I have 6.10 installed and it is not working.
Back to firefox I go, shame too, it is quick as a bunny.
Mike
Lance
Can you tell us please how to Uninstall the program to recover space? I already used the DCA command to remove the icon but I know the program is still in there. Once again. This is the best blog on the net. I appreciate the help.
Lance
symbol lookup error: /opt/chrome-linux/chrome: undefined symbol: cairo_format_stride_for_width
Have googled and found that some others are getting this, but no resolutions - any ideas?
[Did come across one entry that stated "emerge" the cairo libraries, followed by the pango libraries, and it would work - dont know what "emerge"'ing involves - has something been broken in the build?
Any assistance gratefully recieved.
Brilliant blog BTW Macles.
Excellent stuff.
First, trying to execute this code
install -m 755 <(cat << 'EOF'
#!/bin/sh
export LD_LIBRARY_PATH=/opt/chrome-linux/libs:$LD_LIBRARY_PATH
/opt/chrome-linux/chrome
EOF) /opt/chrome-linux/libs/chrome.sh
gets
bash: install: command not found
Of course, this means that the new icon which points to the chrome.sh won't work.
That said, the invokation of
LD_LIBRARY_PATH=/opt/chrome-linux/libs:$LD_LIBRARY_PATH /opt/chrome-linux/chrome
works.
How can I link this to the chromium.desktop icon?
fedora 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.6 kB 00:00
adobe-linux-i386 100% |=========================| 951 B 00:00
Setting up Update Process
Could not find update match for coreutils
No Packages marked for Update
?
sudo rpm -e --nodeps coreutils
sudo yum install coreutils
I wonder if it is possible to remove the windows borders, just to make it look like in Windows...
'Saludos' from Spain!
can you put flash player and other add ons on chromium?
#!/bin/sh
export LD_LIBRARY_PATH=/opt/chrome-linux/libs:$LD_LIBRARY_PATH
/opt/chrome-linux/chrome --enable-plugins
Java is still not supported though
- Peter
thank u
>
i am stuck help me please
arun
[somepath]/chrome-linux/chrome: symbol lookup error: [somepath]/chrome-linux/libs/libpangocairo-1.0.so.0: undefined symbol: g_once_init_enter_impl
Any idea to on how to fix this?
'Plugins (e.g. Flash) are partway implemented and will cause frequent crashes. Use --enable-plugins to turn them on if you're ok with that'
What to i do to turn flash on? What do i type and where do i type it?
Thanks in advance :)
But i need a fast Browser with JAVA. Is there any way to use chromium with java?
thanks
What about the new release of a google chrome version for linux? There is a Fedora/OpenSuse rpm install file, but I don´t think it is going to work with the usual dependence problems. Could you help us with this? It would be great because I´m not an expert on linux, so I can´t do it myself. Thanks again.
If not, does anyone have alternatives for the require links?
wget -N http://build.chromium.org/buildbot/continuous/linux/2009-11-30/33434/chrome-linux.zip
sudo unzip -o chrome-linux.zip -d /opt
sudo chown -R user /opt/chrome-linux
ln -s /opt/chrome-linux/libs/libbz2.so.1 /opt/chrome-linux/libs/libbz2.so.1.0
ln -s /lib/libbz2.so.1 /opt/chrome-linux/libs/libbz2.so.1.0
Of course, you have to remove the symlink that didn't work (if you used it like I did) by doing:
rm -rf /opt/chrome-linux/lib/libbz2.so.1.0
And then recreate the symlink, and all should be good and Chrome will run from the icon on the desktop or by running /opt/chrome-linux/libs/chrome.sh
Thanks!
Dex
/opt/chrome-linux/chrome: symbol lookup error: /opt/chrome-linux/libs/libpangocairo-1.0.so.0: undefined symbol: g_once_init_enter_impl
How do I resolve this?
Thanks,
Pushkar
/opt/chrome-linux/chrome: /lib/libz.so.1: no version information available (required by /opt/chrome-linux/chrome)
/opt/chrome-linux/chrome: /lib/libz.so.1: no version information available (required by /opt/chrome-linux/chrome)
[14999:15006:12585552800:ERROR:/b/slave/chromium-rel-linux/build/src/net/disk_cache/backend_impl.cc(128)] Unable to rename cache folder
[14999:15006:12588726186:ERROR:/b/slave/chromium-rel-linux/build/src/base/nss_init.cc(84)] Error initializing NSS with a persistent database (sql:/home/pushkar/.pki/nssdb): NSS error code -5977
[14999:15006:12588726277:ERROR:/b/slave/chromium-rel-linux/build/src/base/nss_init.cc(94)] Error initializing NSS without a persistent database: NSS error code -5925
./chrome.sh: line 3: 14999 Segmentation fault /opt/chrome-linux/chrome --enable-plugins
How to fix this?
FYI, I am running Fedora core 6.
Regards,
Pushkar
Sincerely,
Nay