google-chrome:no better than chromium in root mode

Non release banter
User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

google-chrome:no better than chromium in root mode

Post#1 by francois » 04 Oct 2015, 20:10

Working on a way to be with the latest version of the google-chrome desktop, there are two options: 1) going for chromium proposed by alien bob:
http://forum.porteus.org/viewtopic.php? ... 340#p37340
which seems to be be problematic because of security issues.

or going for the google-chrome version with SlackBuild:
http://slackbuilds.org/mirror/slackware ... le-chrome/

In this howto we are going for the google-chrome version from the files located in:
http://slackbuilds.org/mirror/slackware ... le-chrome/

INSTRUCTIONS:
1.0 create /tmp/google-chrome-current

Code: Select all

root@porteus:/# mkdir  /tmp/google-chrome-current
2.0 create and install the the slack-desc and google-chrome.SlackBuild files by copy/pasting the info into text files with their appropriate file names into /tmp/google-chrome-current:
slack-desc
google-chrome.SlackBuild

3.0 Modify google-chrome.SlackBuild error:
As there is an error on the SlackBuild modify it accordingly with your favorite text editor (kwrite or mousepad):
http://bovitron.com/blogostu/2015/03/04 ... 0-2272-76/
Change:

Code: Select all

ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv || exit 1
to:

Code: Select all

ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.xz | xz -d | tar xv || exit 1
4.0 Assign the right permission to google-chrome.SlackBuild:
right click on the file > contextual menu > properties > permissions > executable

5.0 Download the necessary google-chrome-stable_current_<architecture>.deb in /tmp/google-chrome-current :
https://www.google.com/chrome/browser/t ... form=linux

6.0 change to /tmp/google-chrome-current and build txz package:

Code: Select all

root@porteus:/tmp/google-chrome# ./google-chrome.SlackBuild
7.0 with right click contextual menu transform the .txz to .xzm and then double click on it to activate.

However, with the google-chrome version as with alien bob chromium version you will need:

Code: Select all

/etc/google/chrome/google-chrome --no-sandbox --user-data-dir
Prendre son temps, profiter de celui qui passe.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: google-chrome:no better than chromium in root mode

Post#2 by neko » 10 Oct 2015, 11:45

@francois
"mkgoogle-chrome" command was added described in "the Tool of Building Slimjet browser module" thread.
http://forum.porteus.org/viewtopic.php? ... 875#p35562

Thanks.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: google-chrome:no better than chromium in root mode

Post#3 by francois » 10 Oct 2015, 12:08

You are great!
Prendre son temps, profiter de celui qui passe.

Post Reply