How to install Chromium (web browser) nightly builds

Share your own howto's etc. Not for support questions!

How to install Chromium (web browser) nightly builds

Postby realnubnut » 2011-03-27 19:03

1. Download latest build from: http://build.chromium.org/f/chromium/sn ... rel-linux/
It's best to get the last build of the day (or night)

2. Copy chrome-linux.zip to /opt

3.
Code: Select all
# cd /opt


4. Extract
Code: Select all
unzip -o chrome-linux.zip

note: unzip package should be installed first

5. Remove unnecessary locales (US English was used in this example)
Code: Select all
# mv /opt/chrome-linux/locales/en-US.pak /opt/chrome-linux/en-US.pak
# rm -vf /opt/chrome-linux/locales/*
# mv /opt/chrome-linux/en-US.pak /opt/chrome-linux/locales/en-US.pak


6. Change permissions
Code: Select all
# chown -R root:users /opt/chrome-linux
# find /opt/chrome-linux/ -type f -exec chmod 644 {} \; && find /opt/chrome-linux/ -type d -exec chmod 755 {} \;
# chmod 755 /opt/chrome-linux/chrome
# chmod 755 /opt/chrome-linux/chrome-wrapper
# chmod 4755 /opt/chrome-linux/chrome_sandbox
# chmod 750 /opt/chrome-linux


note: your user should be a member of the group "users"
Code: Select all
# usermod -a -G users username


7. Create symbolink link
Code: Select all
# ln -s /opt/chrome-linux/chrome-wrapper /usr/bin/chrome-wrapper


8. Delete chrome-linux.zip from /opt

9. Done

10. To install a new version:
Code: Select all
# rm -rf /opt/chrome-linux*
# rm /usr/bin/chrome-wrapper

then repeat previous steps


Add a shortcut menu:
1. Create chromium-browser.desktop file
Code: Select all
# touch /usr/share/applications/chromium-browser.desktop


2. Edit chromium-browser.desktop (nano is used in this example, any editor will do):
Code: Select all
# nano /usr/share/applications/chromium-browser.desktop


contents of chromium-browser.desktop:
Code: Select all
[Desktop Entry]
Version=1.0
Name=Chromium Web Browser
GenericName=Web Browser
Comment=Access the Internet
Exec=/usr/bin/chrome-wrapper %U
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/opt/chrome-linux/product_logo_48.png
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=Chromium-browser
StartupNotify=true
realnubnut
 
Posts: 16
Joined: 2011-03-27 18:18

Re: How to install Chromium (web browser) nightly builds

Postby gradinaruvasile » 2011-04-03 15:38

I made a script for this some time ago - it downloads or upgrades (if previously installed) the latest version from the buildbot site in your home directory, makes menu links. I enabled the "click-to-play" method i.e. you can let the plugins (flash, pdf, java) run only if you want (this functionality is disabled by default in Chromium/Chrome probably because they want you to see all their crappy flash ads...).
No root access required for it. Run in a terminal.

The contents (copy-paste them in a script, then make it executable with "chmod +x scriptname"):

Code: Select all
#!/bin/bash
unset basehttp
unset latest
cd /tmp/
rm LATEST* > null
rm chrome-linux.zip
rm chrome-linux.zip.*
export basehttp=http://build.chromium.org/buildbot/snapshots/chromium-rel-linux
echo "Downloading latest version information..."
wget --quiet $basehttp/LATEST

if [ -f $HOME/chrome-linux/LATEST ]
  then
  echo "Installed dev version is `cat $HOME/chrome-linux/LATEST`"
   else
   echo "Cannot get Google Chromium version - not installed?"
fi

echo "Latest Chromium Dev version is `cat /tmp/LATEST`"

if [ $((`cat /tmp/LATEST`)) -eq $((`cat $HOME/chrome-linux/LATEST`)) ]
then
   echo " You have the latest version of Chromium Browser"
   exit 0
else

read -p "Press any key to continue installation or Ctrl-C to abort"
export latest=`cat /tmp/LATEST`
echo "Downloading latest Chromium build..."
wget $basehttp/$latest/chrome-linux.zip && rm -rf $HOME/chrome-linux/

echo "Unpacking new version..."
unzip -o -qq /tmp/chrome-linux.zip -d $HOME/ && mv /tmp/LATEST $HOME/chrome-linux/

echo "Creating links..."
if [ -d $HOME/bin/ ]
  then
   echo "The bin folder already exists!"
  else
  mkdir $HOME/bin
fi

if [ -d $HOME/bin/icons ]
  then
   echo "The bin/icons folder already exists!"
  else
  mkdir $HOME/bin/icons
fi

echo "Creating menu link"

mkdir -p $HOME/.local/share/applications/

echo -e '[Desktop Entry]\r
Encoding=UTF-8\r
Version=1.0\r
Name=Chromium Linux\r
Comment=Browse the WWW\r
Type=Application\r
Exec='$HOME'/chrome-linux/chrome\r
Terminal=false\r
Categories=Network\r
Name[en_US]=Chromium Browser\r
Comment[en_US]=Browse the WWW\r
Icon[en_US]='$HOME'/chrome-linux/product_logo_48.png\r
Icon='$HOME'/chrome-linux/product_logo_48.png\r' > $HOME/.local/share/applications/chromium-linux.desktop

#mv /tmp/LATEST $HOME/chrome-linux/
#ln -s $HOME/chrome-linux/chrome $HOME/bin/chromium-linux

rm $HOME/bin/chromium-linux

echo -e '#!/bin/bash\n
$HOME/chrome-linux/chrome --enable-click-to-play --enable-resource-content-settings\r' > $HOME/bin/chromium-linux

chmod +x $HOME/bin/chromium-linux

#ln -s /opt/google/chrome/libpdf.so $HOME/chrome-linux/
#ln -s /opt/google/chrome/libgcflashplayer.so $HOME/chrome-linux/

rm /tmp/chrome-linux.zip
echo "Installation/Upgrade complete"
exit 0
fi
User avatar
gradinaruvasile
 
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania

Re: How to install Chromium (web browser) nightly builds

Postby secipolla » 2011-04-03 21:20

Thanks for the tip about 'click-to-play', no need for flashblock anymore.
I have google-chrome-unstable (12.0.712.0) and that feature can be enabled from the about:flags page.
I found another useful feature that makes the address bar ("omnibar") behave like Firefox's, that is, search among the page titles too instead of only among the addresses.
secipolla
 
Posts: 1127
Joined: 2010-06-21 14:20

Re: How to install Chromium (web browser) nightly builds

Postby bohu » 2011-04-04 04:13

Doesn't testing keep a pretty recent version of Chromium, anyway? What is the advantage of getting the nightly build?
---------- NRA certified pistol instructor, linux advocate, bookworm, pitbull enthusiast ----------
User avatar
bohu
 
Posts: 83
Joined: 2005-12-27 22:35
Location: Southwest Missouri, near Branson

Re: How to install Chromium (web browser) nightly builds

Postby realnubnut » 2011-04-04 19:27

bohu wrote:Doesn't testing keep a pretty recent version of Chromium, anyway?
Testing is version 6 and nightly builds are running version 12, do you realize how far apart that is?


bohu wrote:What is the advantage of getting the nightly build?
The shiny buttons, what else?
realnubnut
 
Posts: 16
Joined: 2011-03-27 18:18

Re: How to install Chromium (web browser) nightly builds

Postby bohu » 2011-04-05 00:40

I didn't realize testing was that far behind. Which was the reason for my question. Now I am tempted to use the nightly builds. Dang it! And I should know better. I just borked my system after installing XFCE 4.8 from experimental - just couldn't wait - gotta have the shiny new 4.8. It turned out all the new & improved code was low level stuff. 4.8 looked just like 4.6 - only broken. Spent hours and hours undoing the mess. Then I promised myself I would learn to be more patient :-)

I don't need Chromium 12.
I don't.
I really really don't.
I should keep telling myself this until I believe it :-)
---------- NRA certified pistol instructor, linux advocate, bookworm, pitbull enthusiast ----------
User avatar
bohu
 
Posts: 83
Joined: 2005-12-27 22:35
Location: Southwest Missouri, near Branson

Re: How to install Chromium (web browser) nightly builds

Postby vbrummond » 2011-04-05 18:01

realnubnut wrote:Testing is version 6 and nightly builds are running version 12, do you realize how far apart that is?


Yeah but every 2 minutes a new version is out these days. That means little.
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: How to install Chromium (web browser) nightly builds

Postby realnubnut » 2011-04-05 19:36

watson180 wrote:What is new in nightly build version. If there any deference between chrome and chromium?


http://www.axllent.org/projects/chromiumlog
realnubnut
 
Posts: 16
Joined: 2011-03-27 18:18

Re: How to install Chromium (web browser) nightly builds

Postby realnubnut » 2011-04-05 19:37

vbrummond wrote:
realnubnut wrote:Testing is version 6 and nightly builds are running version 12, do you realize how far apart that is?


Yeah but every 2 minutes a new version is out these days. That means little.


What? Every 2 minutes? New version? Thats crazy. You must talking about the build number not version.

I never had any problems with the nightly builds. I get one and use it for maybe one or two months or until I get bored and get another one.
realnubnut
 
Posts: 16
Joined: 2011-03-27 18:18

Re: How to install Chromium (web browser) nightly builds

Postby vbrummond » 2011-04-05 20:28

I was being sarcastic. Firefox is going to do the same thing, making versions (5,6, etc) rapidly now like Chrome. Not sure I see the point, its just a numbering scheme. Thats neither here nor there though I was just pointing out it cant be sooo far behind. And newer doesnt always mean better in every situation.
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: How to install Chromium (web browser) nightly builds

Postby mharrison » 2011-04-05 20:37

vbrummond wrote:I was being sarcastic. Firefox is going to do the same thing, making versions (5,6, etc) rapidly now like Chrome. Not sure I see the point, its just a numbering scheme.



I always feel when a company boosts their version numbers by releasing an insane amount of versions, all it does is turn people away...it does for me...when software jumps 8 versions (yes I am being sarcastic) in less than a year, I have to think about what is going wrong that they have to keep releasing new versions.

Arch would be the one exception, however, they are a rolling release...this must be what makes it feel faster
mharrison
 
Posts: 223
Joined: 2009-09-29 13:44

Re: How to install Chromium (web browser) nightly builds

Postby realnubnut » 2011-04-05 22:00

Everything is personal preference including the paper you wipe your ass with. If you want to start a juvenile crusade against certain asswipes (toilet paper) then by all means waste your time and electrons. Whatever floats (or sinks) your boat.
realnubnut
 
Posts: 16
Joined: 2011-03-27 18:18

Re: How to install Chromium (web browser) nightly builds

Postby vbrummond » 2011-04-05 22:05

realnubnut wrote:Everything is personal preference including the paper you wipe your ass with. If you want to start a juvenile crusade against certain asswipes (toilet paper) then by all means waste your time and electrons. Whatever floats (or sinks) your boat.


Too true. :) Forgive me if I offended you with my (granted off topic) opinion on version numbers.
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: How to install Chromium (web browser) nightly builds

Postby realnubnut » 2011-04-05 22:14

vbrummond wrote:
realnubnut wrote:Everything is personal preference including the paper you wipe your ass with. If you want to start a juvenile crusade against certain asswipes (toilet paper) then by all means waste your time and electrons. Whatever floats (or sinks) your boat.


Too true. :) Forgive me if I offended you with my (granted off topic) opinion on version numbers.


Alas, but that post has nothing to do with you at all. Im not offended by you or anyone for that matter.
realnubnut
 
Posts: 16
Joined: 2011-03-27 18:18

Re: How to install Chromium (web browser) nightly builds

Postby vbrummond » 2011-04-05 22:16

Oh ok, sorry. So used to being the target of such posts on another nameless linux forum. :D (im kind of a jerk usually)
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Next

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable