如何在Debian 10 Linux上安装Google Chrome Web浏览器
谷歌浏览器是世界上最受欢迎的网络浏览器。 它是为现代Web构建的快速,直观,安全的浏览器。
Chrome不是开放源代码浏览器,也不包含在官方的Debian存储库中。 它基于Chromium,Chromium是一种开放源代码浏览器,可在默认的Debian Buster存储库中使用。
在本教程中,我们将逐步介绍在Debian 10 Linux上安装Google Chrome浏览器的步骤。
先决条件
您需要以具有sudo访问权限的用户身份登录才能在Debian系统上安装软件包。
在Debian上安装Google Chrome#
执行以下步骤在您的Debian 10系统上安装Google Chrome:
1.下载Google Chrome浏览器#
通过使用 Ctrl+Alt+T
键盘快捷键或单击终端图标。
下载最新的Google Chrome .deb
使用以下软件包 wget
命令:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
2.安装Google Chrome#
下载完成后,请使用 apt
:
sudo apt install ./google-chrome-stable_current_amd64.deb
出现提示时,输入您的用户密码,安装将继续。
启动谷歌浏览器
您可以通过单击浏览器图标(Activities -> Google Chrome
)或在命令行中输入 google-chrome
。
首次启动Chrome浏览器时,系统会询问您是否要将Google Chrome设置为默认浏览器:
根据您的喜好选择,然后单击 OK
继续。
Google Chrome将打开,您将看到默认的Chrome欢迎页面。
在这里,您可以使用Google帐户登录Chrome,以同步所有设备上的书签,历史记录,密码和其他设置。
更新Google Chrome浏览器#
在安装过程中,官方的Google Chrome apt存储库将添加到您的系统中。 使用 cat
验证存储库文件已创建的命令:
cat /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
发布新版本后,您可以通过桌面标准软件更新工具或在终端中运行以下命令来更新Google Chrome软件包:
sudo apt update
sudo apt upgrade
结论#
我们已经向您展示了如何在Debian Buster桌面系统上安装Google Chrome。 如果您以前使用过其他浏览器(例如Firefox或Opera),则可以将书签和设置导入Chrome。
如有任何疑问,请在下面发表评论。
chrome浏览器debian