Install Chromium daily build on Linux - lmmx/devnotes GitHub Wiki

Chrome Canary isn't available on Linux, but the daily build of Chromium is - not via PPA, but at download-chromium.appspot.com

  • Step 1: get the .desktop file via install sudo apt-get install chromium
    • defaults to /usr/share/applications/chromium-browser.desktop (see upload)

Sources

chromium-canary

My chosen installation (i.e. download) location: ~/opt/chromium-canary

~/opt/chromium-canary/chrome --user-data-dir=~/.config/chromium-canary --disable-setuid-sandbox

so place a symbolic link at /usr/bin/chrome-canary, move the PPA-installed chromium to /usr/bin/chromium-browser-old and place a shell script at /usr/bin/chromium-browser instead:

#!/usr/bin/env bash

chromium-canary --user-data-dir=~/.config/chromium-canary --disable-setuid-sandbox $@

($@ to pass in any command line arguments) The .desktop file will then still work, no change to icons needed.

get_chromium_canary

This probably doesn't work, would need to specify output file names ? Not of interest for me right now...

wget https://download-chromium.appspot.com/dl/Linux_x64 -O /tmp/chromium.zip
rm -fr ~/opt/chromium-canary
unzip -o /tmp/chromium.zip
mv chrome-linux .chromium-linux

To do

  • save on path as chromium-canary, and edit the PPA-downloaded .desktop file to use this instead
  • automate the redownloading process with the get_chromium_canary shell script (and put on path too)