如何在 Debian 上安装 Google Chrome?

[ad_1]

在本文中,我们将学习如何在 Debian 发行版上安装 Google Chrome。 Google Chrome 一直被评为互联网用户中最受欢迎的浏览器,但您在 Debian 存储库中找不到它,因为它是 Google 专有软件。 但值得庆幸的是,官方存储库并不是在 Debian 或任何 Linux 发行版上安装软件的唯一方法。

所以在这里我们看看如何在 Debian 上开始使用 Google Chrome。

下载谷歌浏览器

Chrome 官方网站上提供了 Google Chrome 软件包。 但是有两种下载方式。

1.通过GUI安装谷歌浏览器

访问 Google Chrome 官方网站,然后单击下载。

这将提示另一个窗口,要求您选择下载包。 选择用于 Debian 及其衍生产品(如 Mint 和 Ubuntu)的“.deb”包。 之后点击“接受并安装”。

2.命令行方式

如果你不想离开命令行的舒适,你可以只执行以下命令它会下载相关的包。

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

获取 是用于从互联网下载文件的实用程序。

在 Debian 上安装 Google Chrome

下载文件后,执行 dpkg 命令进行安装:

sudo dpkg -i google-chrome-stable_current_amd64.deb

dpkg 是 Debian 的包管理器和 -i 标志用于安装软件包。

您现在已成功安装 Google Chrome。 运行它执行 google-chrome 在您的终端中或在桌面环境的开始菜单中搜索它。

更新谷歌浏览器

当您安装 Chrome 软件包时,它会在源列表中添加官方 Google 存储库。 因此,每当您运行时,Google Chrome 浏览器都会自动更新:

sudo apt update

卸载谷歌浏览器

您可以通过执行从系统中卸载 Chrome

sudo apt remove google-chrome-stable

结论

这就是在 Debian 发行版上安装 Google Chrome 所需的全部内容。 您可以查看我们之前介绍过的其他一些 Linux 发行版!

[ad_2]

Related Posts