Linux comes with the Firefox browser are accustomed to Google, I decided to install a Google browser.
Use the command to download:
First download the source added to the system's source column
sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/
Import Google's public key software
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
OK will return to normal
On the list of available updates current system update
sudo apt-get update
Installation Google
sudo apt-get install google-chrome-stable
start up:
/usr/bin/google-chrome-stable
The results of embarrassing things happen, do not start up Chrome, error:
[31560:31560:0207/085601.085852:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180
Baidu for a long time to find two ways to solve the problem:
method 1:
修改 /usr/bin/google-chrome文件
将 exec -a "$0" "$HERE/chrome" "$@" 改为
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir --no-sandbox
Add to:
--no-sandbox
Tested add -no-sandbox can solve the problem.
Method 2:
Find / usr / share / applications under Google, change the command, followed by the:
--no-sandbox
Tested add -no-sandbox can solve the problem.
In this regard, there are some doubts, please share.