Some time ago I answered a question about installing Google Chrome on Clear. I’m updating the step by step process using this installation method suggested by @paulcarroty.
Step by step process
-
Open a terminal
-
Run the following command to obtain root privileges
sudo -s
and type your admin password.
-
Run the following commands, one by one:
swupd bundle-add package-utils curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm rpm -U --nodeps google-chrome*.rpm
-
Now you can delete the .rpm package and, if you don’t need it, the
package-utils
bundle. To do this run the following commands, one by one:rm -f google-chrome*.rpm swupd bundle-remove package-utils
-
And the following command will fix the font loading (thanks to @TomL for his workaround):
f=/etc/environment; s='export FONTCONFIG_PATH=/usr/share/defaults/fonts'; touch $f; if ! grep -q "$s" $f; then echo $s >> $f; fi
Done!
Updating Google Chrome
To update Google Chrome you can re-follow the procedure above, or periodically run it in a script.
Uninstalling Google Chrome
-
Open a terminal
-
Run the following command to obtain root privileges
sudo -s
and type your admin password.
-
Run the following commands, one by one:
swupd bundle-add package-utils rpm -e google-chrome-stable
-
Now if you don’t need it you can delete the
package-utils
bundle by running:swupd bundle-remove package-utils
Done!
I noted some errors during the installation that obviously didn’t emerge using rpm2cpio
in the previous tutorial, but the browser works anyway. Let me know your thoughts, and if there’s something that can be improved, especially about those errors. I hope it’s helpful!