如何在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.下载谷歌浏览器
通过使用“ Ctrl + Alt + T”键盘快捷键或者单击终端图标来打开终端。
使用以下“ wget”命令下载最新的Google Chrome浏览器“ .deb”软件包:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
2.安装Google Chrome
下载完成后,使用'apt'安装Google Chrome:
sudo apt install ./google-chrome-stable_current_amd64.deb
出现提示时,输入用户密码,安装将继续。
启动谷歌浏览器
我们可以通过单击浏览器图标(“活动-> Google Chrome”)来启动Google Chrome,也可以在命令行中输入“ google-chrome”来启动Google Chrome。
首次启动Google Chrome浏览器时,系统会询问我们是否要将Google Chrome设置为默认浏览器:
根据喜好进行选择,然后单击“确定”继续。
Google Chrome将打开,我们将看到默认的Chrome欢迎页面。
其中我们可以使用Google帐户登录Chrome,以同步所有设备上的书签,历史记录,密码和其他设置。
更新谷歌浏览器
在安装过程中,正式的Google Chrome apt存储库将添加到系统中。
使用“ cat”命令来验证是否已创建存储库文件:
cat /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You Jan comment out this entry, but any other modifications Jan be lost. deb [arch=amd64] http://dl.google.com/linux/chrome/deb/stable main
发布新版本后,我们可以通过桌面标准软件更新工具或者在终端中运行以下命令来更新Google Chrome软件包:
sudo apt updatesudo apt upgrade