How can I install Google Chrome on GoboLinux?

Currently I’m on a GoboLinux live cd.

Using Firefox browser:

  1. I visited https://www.google.com/chrome/
  2. Downloaded the .deb file.

Then using the terminal I installed the:
3. InstallPackage ThirdPartyInstallers

I used the ThirdPartyInstaller
4. ThirdPartyInstaller google-chrome-stable_current_amd64.deb

It installed it perfectlly.

Then I used terminal:
5. I tried to launch Google Chrome using google-chrome
zsh: command not found: google-chrome

As mentioned it is installed:

root@LiveCD overlayfs/Programs/Google-Chrome-Stable/92.0.4515.131_1/chrome]ls           
chrome                  default_apps          MEIPreload             product_logo_256.png  v8_context_snapshot.bin
chrome_100_percent.pak  google-chrome         nacl_helper            product_logo_32.png   vk_swiftshader_icd.json
chrome_200_percent.pak  icudtl.dat            nacl_helper_bootstrap  product_logo_32.xpm   WidevineCdm
chrome-sandbox          libEGL.so             nacl_irt_x86_64.nexe   product_logo_48.png   xdg-mime
crashpad_handler        libGLESv2.so          product_logo_128.png   product_logo_64.png   xdg-settings
cron                    libvk_swiftshader.so  product_logo_16.png    resources.pak
default-app-block       locales               product_logo_24.png    swiftshader

ThirdPartyInstallers doesn’t activate the installed program by default. You can do that with SymlinkProgram Google-Chrome-Stable or by invoking ThirdPartyInstaller --symlink=yes

1 Like

I tried SymlinkProgram Google-Chrome-Stable,
and so far I was unable to launch the Google Chrome.

root@LiveCD ~/Downloads]SymlinkProgram Google-Chrome-Stable
SymlinkProgram: Symlinking Google-Chrome-Stable 92.0.4515.131_1.
SymlinkProgram: Symlinking global settings...
SymlinkProgram: Symlinking tasks...
SymlinkProgram: Storing variable files...
SymlinkProgram: Symlinking libraries...
SymlinkProgram: Symlinking headers...
SymlinkProgram: Symlinking info...
SymlinkProgram: Updating info dir...
SymlinkProgram: Symlinking manuals...
SymlinkProgram: Processed 2 files.
SymlinkProgram: Symlinking executables...
SymlinkProgram: Processed 1 file.
SymlinkProgram: Symlinking wrappers...
SymlinkProgram: Symlinking libexec..
SymlinkProgram: Symlinking shared...
SymlinkProgram: Creating expanded directory 'gnome-control-center'...
SymlinkProgram: Creating expanded directory 'default-apps'...
SymlinkProgram: Processed 9 files.
SymlinkProgram: The program wishes to install files to these unmanaged locations:
/opt/google
SymlinkProgram: Do you want to install the unmanaged files? [Y/n]
Y
SymlinkProgram: Installing unmanaged files...
SymlinkProgram: Removing unused directories...
SymlinkProgram: Done.
root@LiveCD ~/Downloads]google-chrome
zsh: command not found: google-chrome
root@LiveCD ~/Downloads]chrome
zsh: command not found: chrome
Did you mean one of these?                                                      
  choom, chroot
root@LiveCD ~]google-chrome-stable
[32643:32643:0813/185712.271200:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
root@LiveCD ~]google-chrome-stable --no-sandbox
[32720:32720:0813/185743.622183:ERROR:browser_dm_token_storage_linux.cc(94)] Error: /etc/machine-id contains 0 characters (32 were expected).
zsh: trace trap  google-chrome-stable --no-sandbox
[0813/185743.733933:ERROR:nacl_helper_linux.cc(307)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly
root@LiveCD ~]


Some stackoverflow thread, but I have little hope.
https://stackoverflow.com/questions/47269579/nacl-helper-process-running-without-a-sandbox-error-when-running-npm-tests

Some information on Chrome’s page
https://chromium.googlesource.com/chromium/src.git/+/HEAD/docs/linux/suid_sandbox_development.md

There probably is a need for some configuration.
But I have no idea. Nothing seems to work so far.

root@LiveCD ~]google-chrome-stable --disable-setuid-sandbox --no-sandbox
[707:707:0813/191051.972119:ERROR:browser_dm_token_storage_linux.cc(94)] Error: /etc/machine-id contains 0 characters (32 were expected).
zsh: trace trap  google-chrome-stable --disable-setuid-sandbox --no-sandbox
[0813/191052.052055:ERROR:nacl_helper_linux.cc(307)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

Your best bet is to run AddUser to run Chrome as an unprivileged user (sudo -u your-new-user google-chrome-stable)

1 Like

Installing Google Chrome on GoboLinux | As Root user | On Live CD

InstallPackage Cpio     --batch
InstallPackage Dpkg     --batch
InstallPackage BeeCrypt --batch
InstallPackage Neon     --batch
InstallPackage RPM      --batch --unmanaged install

InstallPackage ThirdPartyInstallers --batch

curl "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" -O
ThirdPartyInstaller "google-chrome-stable_current_amd64.deb"
SymlinkProgram Google-Chrome-Stable --unmanaged install
google-chrome-stable --no-sandbox