Is there a way to update google chrome on porteus xfce? The version that came with the distro is 33, while the current version of chrome is 39. I'm having problems playing HTML5 videos because of the old version. Thanks!

Last edited by Jacoby59 on 19 Sep 2014, 14:54, edited 1 time in total.

Hi Jacoby59,
here is how I did it:
Download the chrome 39 as a deb binary file from the chrome home page. Convert the deb file to xzm file (command: deb2xzm). Extract the chrome 39.xzm file (xzm2dir). Extract your original chrome 33.xzm (xzm2dir). Replace the content from chrome 33 /opt directory with the content of chrome 39 /opt directory. If you want to run as root change the last line of the file /opt/google/chrome/google-chrome to look like this:

Replace the content from chrome 33 /opt (which is your old chrome) directory with the content of chrome 39 /opt directory (the new chrome).
The meaning is to delete the content of the old chrome 33 /opt folder so that it is empty and copy the content of your downloaded chrome 39 /opt folder into the empty folder of chrome 33 /opt. After that rename the complete old chrome 33 dir to something like "my new chrome 39" and make a module with dir2xzm. Maybe that was a little confusing, sorry.

Edit: To use the great script from brokenman is more convient than my layman system. You find the finished txz file in the /temp directory.

Hi brokenman. Should I run the script after deactivating oldchrome.xzm? I ran it without deactivating it and it automatically downloaded the latest stable release (which I already had, in the same directory), but it proceeded no further. What should I do once the deb file is downloaded? Thanks.

I guess you are running 32bit. Please change the line near the top of the script from:

if [ ! -f google-chrome-stable_current_amd64.deb ]; then

to

if [ ! -f google-chrome-stable_current_$GARCH.deb ]; then

The script should then use the .deb file in the same folder (without downloading another) and then it will process the file and leave a .txz file waiting in /tmp.
If you want a module you can convert the .txz with: txz2xzm /tmp/filename.txz

If it doesn't work it could be that some code was messed up when pasting into the forum and using code tags. In this case I can upload the script somewhere for you.

How do i become super user?
Wear your underpants on the outside and put on a cape.

Hi Jacoby59,
no you did everything exactly right.
In the folder of your newchrome39 ( meaning before compression) go to the /opt/google/chrome directory there is a file that can have 3 names : google-chrome, google-chrome-stable or google-chrome-unstable. The best way is to change the desktop file in /usr/share/applications . In my case it'sname is "browser.desktop" and has the chrome logo. Edit it and change the line with exec ( in my case

Exec=/opt/google/chrome/google-chrome %U

to the appropriate name in /opt/google/chrome which in your case should be google-chrome-unstable, because chrome 39 is still unstable.
To test your chrome before doing all that you can execute the /opt/google/chrome/google-chrome-??? file from the command line (after the module was activated) to see if your new browser starts and then proceed to modifying the extracted folder.
The reason for all that, is that my google-chrome has many "update fathers" for example stable , unstable , puppy linux and I always have upgraded and adapted accordingly but without writing anything down ( a mistake like always) .
Hope it helps you
Payoon