Chrome

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

Chrome is Google's proprietary (closed source) web browser. Much of the source code is released in parallel as Chromium, however there are binary blobs present in Chrome including a Pepper-based version PPAPI of the Adobe Flash Player.[1]

Installation

Currently there are several versions of Google Chrome available in the main Gentoo repository:

USE flags

Each of the packages listed above contains the following USE flags:

USE flags for www-client/google-chrome The web browser from Google

selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur

Accept License

In order to install Google Chrome, the user needs to accept the 'google-chrome' license agreement. A copy of the license can be found at '/var/db/repos/gentoo/licenses/google-chrome'. Read with:

user $less /var/db/repos/gentoo/licenses/google-chrome

And to agree:

root #echo ""www-client/google-chrome google-chrome" >> /etc/portage/package.license

Emerge

Select one of the Chrome packages to emerge above. Here the primary stable Chrome package will be installed:

root #emerge --ask www-client/google-chrome

Configuration

Most configuration aspects can be found in the Chromium article. Head over there for configuration information.

Screensharing with Pipewire

Change 'WebRTC PipeWire support' to 'Enabled' in chrome://flags

Using Wayland backend

Change 'Preferred Ozone platform' to 'Wayland' in chrome://flags

Using IM

Chrome needs to be instructed to use gtk4 in order to use IM such as fcitx5.

user $google-chrome-stable --gtk-version=4

See also

References