How to Install Chromium (Google chrome) in Ubuntu using deb package

Sponsored Link
We have already discussed how to install google chrome using wine .Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all Internet users to experience the web. The Chromium codebase is the basis for Google’s Chrome browser.
First you can use this tutorial to install chromium in Ubuntu using PPAs and after that you can try any one of the following methods.

First you need to download .deb package from here using the following command

wget http://media.codeweavers.com/pub/crossover/chromium/cxchromium_0.9.0-1_i386.deb

Now you have cxchromium_0.9.0-1_i386.deb package install this package using the following command

sudo dpkg -i cxchromium_0.9.0-1_i386.deb

Using Ubuntu PPA

First you need edit /etc/apt/sources.list file

gksudo gedit /etc/apt/sources.list

Add the following two lines for Ubuntu 9.04 (Jaunty) Users

deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main

For ubuntu 9.10 (Karmic) Users add the following two lines

deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main

For ubuntu 10.04 (Lucid) Users add the following two lines

deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu lucid main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu lucid main

save and exit the file

Now add the GPG key using the following command

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5

or For karmic users use the following command

sudo add-apt-key ppa:chromium-daily/ppa

Update source list

sudo apt-get update

Install chromium browser using the following command

sudo apt-get install chromium-browser

#
This will complete the installation

If you want to open chromium go to Applications->CrossOver Chromium->Chromium

Chromium web browser in action


Sponsored Link

You may also like...

107 Responses

  1. cue says:

    Ok, Google Chrome uses the code base of the Chromium project right?

    Is it like that there are two branches now which differ more and more from each other over time or is it like that Google chrome enhancements are merged back into the original chromium branch?

    Where can I get more information?

  2. Alex says:

    Doh ! Now I’m not sure if I should be embarrased and apologies or something else. All ressources I read in the past stated that it was 2 different things. Also french Wiki still say it. But english wiki for “google chrome” says differently -_-…
    English wiki for “Chromium project” seems to be more precise, but a bit confusing. Even more since there seem to be a little disagreement about the logo of the two browsers… (http://fr.wikipedia.org/wiki/Fichier:Chromium_Icon.png)

    I give up. Sorry anyway πŸ™‚

  3. fett2k says:

    Can’t add the GPG key…
    Can you help me?

    fett2k@fett2k-laptop:~$ sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5
    Executing: gpg –ignore-time-conflict –no-options –no-default-keyring –secret-keyring /etc/apt/secring.gpg –trustdb-name /etc/apt/trustdb.gpg –keyring /etc/apt/trusted.gpg –recv-keys –keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5
    gpg: requesting key 4E5E17B5 from hkp server keyserver.ubuntu.com
    gpg: keyserver timed out
    gpg: keyserver receive failed: erro do servidor de chaves

  4. fett2k says:

    eh… :S forget it please x)

    thanks for the post!

  5. tesseracter says:

    I have the same issue as fett2k had. can not connect to keyserver. i wish people would post what dumb thing they forgot to do, instead of just saying nevermind. anyone have the answer?

  6. fett2k says:

    im sorry, tesseracter.
    in my case, the server was down (i didnt really noticed at first), so a few hours later i repeated the steps and i got the key.

    so, maybe it’s not the same problem…
    well, i dont know anything bout this, so ask the geek x)

    good luck

  7. die says:

    I still try Chromium, please to pray for me

    I Hope to be Success

  8. Israel says:

    hi, I have installed Chromium Browser v4 chrome-google in my ubuntu gnome 9.10 and working 100% without wine, 100% native and working stable = the version final for windows, without problem, very good.

    Faster, good, stable and great browser.

  9. Teun says:

    Uhmm I just installed Ubuntu and can someone help me out ?
    I don understand any of it :P.

    Greetings πŸ˜€

  10. Gareth says:

    I am not sure why, but I had to try getting the keys twice: sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5 but the second time was the charm for me.

    A strange issue: it says that Flash is not supported in Linux Chrome but when I go here (http://www.adobe.com/shockwave/welcome/), it tests fine it’s actually Shockwave Player that fails… weird FF3 also fails this test… Anyone got a fix for this anywhere?

  11. nub33 says:

    i’m having problems getting the GPG key, is there other way to get it? I get a keyserver error all the time:

    z@ubuntu:~$ sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5
    Executing: gpg –ignore-time-conflict –no-options –no-default-keyring –secret-keyring /etc/apt/secring.gpg –trustdb-name /etc/apt/trustdb.gpg –keyring /etc/apt/trusted.gpg –recv-keys –keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5
    gpg: requesting key 4E5E17B5 from hkp server keyserver.ubuntu.com
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error

    pls help! thanks!

  12. vishwadeep says:

    awesom man!
    great i helped me a lot..
    thanks so much

  13. bd86 says:

    nub33 (response to OCTOBER 31, 2009 AT 5:59 PM)

    I have seen similar message on several occasions during various upgrades and tweaks. It always turned out to be firewall issue. Need to open outbound traffic port 11371 (known as Hkp service). Check if you are behind a firewall, and see if you can modify it.

  14. I’ve noticed the ad in the top right hand corner of the google search page which promotes google chrome. I’ve tried it before but I didn’t get along with it. Now I’ve read this, I mght give it another go.

    Thanks!

  15. TTC1 says:

    I’ve just installed Chromium on 2 PCs, one is a old Celeron 2.5Ghz and the other is an even older P3 667Mhz.

    Chromium is working flawlessly on the Celeron but refuses to work on the P3.
    The install went well with no error message but when I click on the icon in Applications/Internet/Chromium Web Browser, I get the “hourglass” and the bottom panel shows “starting up Chromium…” and then the “hourglass” disappears and nothing happens.

    I’ve checked if there was any active process from Chromium but none to be found.

    I’m stumped. I’m not too knowledgeable in Ubuntu, nor Linux in general, so being stumped is not a surprise but I know enough to understand what I’m reading and apply solutions.

    So any ideas on this one, guys?

  16. Jack S says:

    Thanks for the article…

    Please suggest people use gksudo gedit
    gksudo is the proper choice and sets up the system properly.
    While sudo gedit does work, using sudo on a gui app will eventually come back to bite you.

    The person that said they were completely lost would have benefited if the author had started by telling people how to open a terminal in order to type the command that runs the editor in super user mode.

    —Applications—Accessories—Terminal

    Last but not least..
    You should always make a backup of a system file before you make any edits to it.

    There are a thousand ways to make a backup of that or any of the system files. Here is one more

    sudo cp /etc/apt/sources.list /etc/apt/sources.list.$(date +%m-%d-%Y-%T)

    Other system files that you should probably backup are..

    sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.$(date +%m-%d-%Y-%T)

    sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.$(date +%m-%d-%Y-%T)
    sudo cp /etc/fstab /etc/fstab.$(date +%m-%d-%Y-%T)

    If you want to see the filename this generates you can make a copy on your Desktop like this.

    cp /boot/grub/menu.lst ~/Desktop/menu.lst.$(date +%m-%d-%Y-%T)

    cp /etc/X11/xorg.conf ~/Desktop/xorg.conf.$(date +%m-%d-%Y-%T)
    cp /etc/fstab ~/Desktop/fstab.$(date +%m-%d-%Y-%T)
    cp /etc/apt/sources.list ~/Desktop/sources.list.$(date +%m-%d-%Y-%T)

  17. squiddy says:

    nice post!

    how can i block ads on google chrome?
    or is there any native ad blocking program for ubuntu ?

  18. DaVince says:

    Karmic has a MUCH easier method. Run:
    sudo add-apt-key ppa:chromium-daily/ppa

    Then install chromium-browser through the package manager.

    As for ad blocking and other extensions, see http://chromeextensions.org/ and http://userscripts.org/.

  19. Jack S says:

    For those that want to argue the sudo – gksudo – kdesu question…

    I refer you to Ubuntu IRC – Ask any of the ops or Trigger the bot (Ubottu) with !gksudo for the canned response to that question.

    or
    https://help.ubuntu.com/community/RootSudo

    or
    http://www.psychocats.net/ubuntu/graphicalsudo

    Feel free to use sudo for GUI apps, just don’t complain if it causes you a problem.

  20. Jack S says:

    For those that would like a Free Ubuntu Reference Guide in PDF format please check this out…

    A Genuine Freebie..

    http://www.ubuntupocketguide.com/index_main.html

    No registration or any of that kind of garbage…

  21. Nick says:

    sudo add-apt-key ppa:chromium-daily/ppa

    gpg: “ppa:chromium-daily” not a key ID: skipping
    key ppa:chromium-daily not found

    πŸ™

    You can still do the install using:

    sudo apt-get install chromium-browser chromium-codecs-ffmpeg

    You’ll get a warning, which, at your risk, you can ignore…

    WARNING: The following packages cannot be authenticated!
    chromium-codecs-ffmpeg chromium-browser
    Install these packages without verification [y/N]? y

  22. Johnny says:

    I use Chrome on my Windows machine, and got it working fine on the latest 64-bit Ubuntu build.

    I use Chrome’s ‘Search Engines’ feature rather than bookmarks as they allow ‘keywords’ which I use constantly.

    I discovered that under Windows I could copy the file from ‘C:\Users\[username]\AppData\Local\Google\Chrome\User Data\Default\Web Data’ to another machine with Chrome installed and all the ‘Search Engine’ customizations would transfer.

    However I cannot find a synonymous file to overwrite on Ubuntu’s Chrome install. (I searched the file system as su for “Web Data” – nothing). I found some Chrome files at opt->google->chrome, but that’s it.

    Thanks for any ideas.

  23. Jack S says:

    web-data can be found in /etc/apparmor.d/abstractions

  24. Johnny says:

    Thanks Jack S. However that does not appear to be the same ‘web-data’ file which Chrome uses.

    The one you pointed me to is a text file with some entries like ‘ /srv/www/htdocs/ r,’.

    The Chrome file is an SQLite file, and the filename lacks the ‘-‘. However, having searched my filesystem I suspect the Ubuntu install calls the file something else or stores the ‘Search Engine’ data in some other manner.

  25. DaVince says:

    Sorry, I meant sudo add-apt-repository.

  26. shlomo says:

    Excellent post.
    Weorked perfectly on Ubuntu 9.10
    Thanks

  27. Kevin B says:

    Thanks DaVince,

    sudo add-apt-repository ppa:chromium-daily/ppa

    worked for me. I then went to Synaptic Package Manager, hit the reload button, typed chromium in the search bar, and chromium-browser appeared. πŸ™‚

  28. I recommend installing chromium-browser-inspector from the same PPA. It adds two options to the Developer menu: Developer Tools and JavaScript Console. Basically it is Firebug but better!

  29. DaVince says:

    @Kevin B: good to hear. The equivalent to updating the repo and installing the package on the commandline would be:
    sudo apt-get update && sudo apt-get install chromium-browser

    This makes installing Chromium easy to install by just pasting two lines! You can also add chromium-codecs-ffmpeg-nonfree or chromium-browser-inspector at the end of that for enhanced audio&video or site development purposes.

  30. noel says:

    for those who are using Ubuntu 9.10, you can download the developer version from here:
    http://www.google.com/chrome/intl/en/eula_dev.html?dl=unstable_i386_deb

Leave a Reply

Your email address will not be published. Required fields are marked *