admin管理员组

文章数量:1531268

Ubuntu Desktop 安装 64 位谷歌 Chrome 浏览器

  • 1. 下载源加入到系统的源列表
  • 2. 导入谷歌软件的公钥
  • 3. sudo apt-get update
  • 4. sudo apt-get install google-chrome-stable
  • 5. /usr/bin/google-chrome-stable
  • References

1. 下载源加入到系统的源列表

sudo wget http://www.linuxidc/files/repo/google-chrome.list -P /etc/apt/sources.list.d/
deepnorth@ubuntu:~$ sudo wget http://www.linuxidc/files/repo/google-chrome.list -P /etc/apt/sources.list.d/
[sudo] password for deepnorth: 
--2019-09-20 18:02:43--  http://www.linuxidc/files/repo/google-chrome.list
Resolving www.linuxidc (www.linuxidc)... 1.31.128.249
Connecting to www.linuxidc (www.linuxidc)|1.31.128.249|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.linuxidc/files/repo/google-chrome.list [following]
--2019-09-20 18:02:58--  https://www.linuxidc/files/repo/google-chrome.list
Connecting to www.linuxidc (www.linuxidc)|1.31.128.249|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 131 [application/octet-stream]
Saving to: ‘/etc/apt/sources.list.d/google-chrome.list.1’

google-chrome.list.1                   100%[==========================================================================>]     131  --.-KB/s    in 0s      

2019-09-20 18:02:58 (32.1 MB/s) - ‘/etc/apt/sources.list.d/google-chrome.list.1’ saved [131/131]

deepnorth@ubuntu:~$ 

2. 导入谷歌软件的公钥

wget -q -O - https://dl.google/linux/linux_signing_key.pub  | sudo apt-key add -
deepnorth@ubuntu:~$ wget -q -O - https://dl.google/linux/linux_signing_key.pub  | sudo apt-key add -
OK
deepnorth@ubuntu:~$ 

3. sudo apt-get update

用于对当前系统的可用更新列表进行更新,随时获得最新的软件版本信息。

deepnorth@ubuntu:~$ sudo apt-get update
...
deepnorth@ubuntu:~$ 

4. sudo apt-get install google-chrome-stable

执行对谷歌 Chrome 浏览器 (稳定版) 的安装。

deepnorth@ubuntu:~$ sudo apt-get install google-chrome-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Recommended packages:
  libu2f-udev
The following packages will be upgraded:
  google-chrome-stable
1 upgraded, 0 newly installed, 0 to remove and 358 not upgraded.
Need to get 61.1 MB of archives.
After this operation, 13.0 MB of additional disk space will be used.
Get:1 http://dl.google/linux/chrome/deb stable/main amd64 google-chrome-stable amd64 77.0.3865.90-1 [61.1 MB]
Fetched 61.1 MB in 11s (5,332 kB/s)                                                                                                                      
N: Ignoring file 'google-chrome.list.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
(Reading database ... 187998 files and directories currently installed.)
Preparing to unpack .../google-chrome-stable_77.0.3865.90-1_amd64.deb ...
Unpacking google-chrome-stable (77.0.3865.90-1) over (74.0.3729.108-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up google-chrome-stable (77.0.3865.90-1) ...
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
N: Ignoring file 'google-chrome.list.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
deepnorth@ubuntu:~$ 

5. /usr/bin/google-chrome-stable

启动谷歌 Chrome 浏览器,在屏幕左侧的 Launcher 上,锁定到启动器。

deepnorth@ubuntu:~$ /usr/bin/google-chrome-stable
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[4435:4435:0920/182019.455567:ERROR:viz_main_impl(167)] Exiting GPU process due to errors during initialization
[4401:4401:0920/182720.581384:ERROR:gcm_channel_status_request(145)] GCM channel request failed.
deepnorth@ubuntu:~$

References

[1] Yongqiang Cheng, https://yongqiang.blog.csdn/

本文标签: 浏览器DesktopUbuntuchrome位谷歌