Switching between Ubuntu and Debian machines, you notice the benefits of both system OS’ quite quickly. The first major thing you’ll probably have noticed with Debian 6 (Squeeze) is that its bundled with Chromium.
After a bit of use though, you’ll also notice how unstable Chromium is. Lots of web pages freezing up, tabs not responding and having to be killed off. Not ideal. That’s because of one of the mixed blessings of Debian – long stable releases.
That’s right, Chromium is unstable because Debian is bundled to be stable. It makes sense when you take on board the Debian ethos and release schedule, however annoying it might be to new users.
The Chromium browser shipping with the latest Debian OS is Chromium 6. In contrast, the latest Chromium version out there is 26!
I couldn’t quite believe this. 20 major version releases of code that we’re running without. No wonder its unstable.
The version us Debian users are given by default was released back in May 2010.
Check you’re running Chromium 6.0.472.63
Before we update, lets first check we’re all on the same page.
Run the following code from your terminal:
dpkg -p chromium-browser
This will poll the package manager for information on the installed version of Chromium you have. Hopefully you should results like the screenshot below. Notice the line that is highlighted, yours should be similar.
Grabbing the daily Chromium build
Debian by default uses stable builds of software, but we’re going to have to open a few doors to get a newer piece of shiny Chromium software. Unfortunately we can’t jump all the way to the latest v26 of the software, as too many library dependencies have changed. The scope of such a feat is well beyond this article, and beyond the purpose of just updating your web browser. We can however get to version 18, which is a huge difference in terms of stability, security, reliability and built in features.
Back in the terminal we need to add a new list to the sources file. This tells your package manager where to get new packages from. Make sure you’re admin and open the sources.list file:
You should see a small document like this:
It may have a few more lines in it, however if its completely different just double check you’ve opened the right file.
Add the following line:
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu lucid main
Save and close the file.
Now to make sure everything is transferred safely and your system is kept as secure as possible, you need to add a GPG key to the APT controller. Run the following in terminal:
(GPG stands for GNU Privacy Guard)
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E5E17B5
You should see several messages appear from GPG, including:
GPG: key 4E5E17B5: public key "Launchpad PPA for chromium-daily" imported ... GPG: imported: 1 (RSA: 1)
If you get any errors drop them in the comments below and I’ll try and guide you through a fix.
Grabbing a stable Chromium 18 build
Now everything is in place for the actual new version to be installed.
Note: Before we go any further, you should close any Chromium browsers you have open otherwise the packages may be blocked from updating. Either print out this page, open it in another browser or copy it to some text editor.
With your Chromium windows closed, run the following from Terminal:
aptitude update && aptitude upgrade chromium-browser
If all goes well, it should ask you if you’re sure to add additional packages. This is standard behaviour and you should just confirm you’re happy to to download the extra few MB of files.
After a few more seconds you should be dropped back at a waiting Terminal screen.
Assuming no errors were thrown at you, head over to your Chromium icon and load her up.
You should be greeted with version 18 (build 130497 Linux).
Safe and happy surfing!
If this article helped you and saved you from many crashed tabs in Debian, please spend a few seconds dropping me a comment or giving this article a share, it’d be greatly appreciated.