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

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

sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/
deepnorth@ubuntu:~$ sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/
[sudo] password for deepnorth: 
--2019-09-20 18:02:43--  http://www.linuxidc.com/files/repo/google-chrome.list
Resolving www.linuxidc.com (www.linuxidc.com)... 1.31.128.249
Connecting to www.linuxidc.com (www.linuxidc.com)|1.31.128.249|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.linuxidc.com/files/repo/google-chrome.list [following]
--2019-09-20 18:02:58--  https://www.linuxidc.com/files/repo/google-chrome.list
Connecting to www.linuxidc.com (www.linuxidc.com)|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.com/linux/linux_signing_key.pub  | sudo apt-key add -
deepnorth@ubuntu:~$ wget -q -O - https://dl.google.com/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.com/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.cc(167)] Exiting GPU process due to errors during initialization
[4401:4401:0920/182720.581384:ERROR:gcm_channel_status_request.cc(145)] GCM channel request failed.
deepnorth@ubuntu:~$

在这里插入图片描述

References

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

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Yongqiang Cheng

梦想不是浮躁,而是沉淀和积累。

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值