Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to install Chromium (web browser) nightly builds

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
realnubnut
Posts: 16
Joined: 2011-03-27 18:18

How to install Chromium (web browser) nightly builds

#1 Post by realnubnut »

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

User avatar
gradinaruvasile
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania
Contact:

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

#2 Post by gradinaruvasile »

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

secipolla
Posts: 1127
Joined: 2010-06-21 14:20

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

#3 Post by secipolla »

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.

User avatar
bohu
Posts: 83
Joined: 2005-12-27 22:35
Location: Southwest Missouri, near Branson
Contact:

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

#4 Post by bohu »

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 ----------

realnubnut
Posts: 16
Joined: 2011-03-27 18:18

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

#5 Post by realnubnut »

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?

User avatar
bohu
Posts: 83
Joined: 2005-12-27 22:35
Location: Southwest Missouri, near Branson
Contact:

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

#6 Post by bohu »

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 ----------

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

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

#7 Post by vbrummond »

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

realnubnut
Posts: 16
Joined: 2011-03-27 18:18

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

#8 Post by realnubnut »

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

#9 Post by realnubnut »

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.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

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

#10 Post by vbrummond »

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

mharrison
Posts: 223
Joined: 2009-09-29 13:44

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

#11 Post by mharrison »

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

realnubnut
Posts: 16
Joined: 2011-03-27 18:18

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

#12 Post by realnubnut »

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.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

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

#13 Post by vbrummond »

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

realnubnut
Posts: 16
Joined: 2011-03-27 18:18

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

#14 Post by realnubnut »

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.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

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

#15 Post by vbrummond »

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

realnubnut
Posts: 16
Joined: 2011-03-27 18:18

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

#16 Post by realnubnut »

Its ok. Being a jerk is therapeutic.

Hurt people hurt people. - Greenberg (film)

mharrison
Posts: 223
Joined: 2009-09-29 13:44

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

#17 Post by mharrison »

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.

What juvenile crusade? Me thinks you read into things a bit much to much.

realnubnut
Posts: 16
Joined: 2011-03-27 18:18

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

#18 Post by realnubnut »

Yeah I read a bit much too much of ubuntu and arch bashing here in the debian forums. Whatever for again? I cant relate to teenage kicks nowadays.

mharrison
Posts: 223
Joined: 2009-09-29 13:44

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

#19 Post by mharrison »

realnubnut wrote:Yeah I read a bit much too much of ubuntu and arch bashing here in the debian forums. Whatever for again? I cant relate to teenage kicks nowadays.
Who was bashing Ubuntu or Arch? Not I. I was making reference to a JOKE that ARCH PLAYED A PART IN ON APRIL FOOLS DAY. Let me know if you ever get the teenage kicks...I haven't gotten them for many years now myself.

jhon987
Posts: 17
Joined: 2011-11-11 23:05

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

#20 Post by jhon987 »

hey guys, the link: http://build.chromium.org/f/chromium/sn ... rel-linux/ doesn't work anymore,
I've found another solution, tough it's good only for the latest stable build: http://dodebian.blogspot.com/2011/12/in ... lease.html

Post Reply