如何在 CentOS 上安装 Google Chrome

2025 年 3 月 17 日 | 阅读 1 分钟

引言

Google Chrome 是由 Google 开发并于 2008 年 9 月发布的免费网络浏览器。它是 Chrome OS 的主要组件。最初,它是为 Microsoft Windows 开发的,后来移植到 Linux、MacOS、iOS 和 Android。 Google 在 Chromium 开源项目下发布其源代码。 在本教程中,我们将介绍如何在 CentOS 上安装 Google Chrome。

前提条件

  • CentOS
  • 以 root 用户身份登录终端
  • 系统上必须配置 Yum

安装

安装包括以下步骤。

1) 更新 Yum 的本地存储库索引

使用以下命令来更新 Yum 安装程序的本地存储库索引。

2) 添加 Google Yum 存储库

/etc/yum.repos.d/ 中创建一个名为 google-chrome.repo 的文件,并将以下代码添加到其中。

3) 安装 Google Chrome

使用以下命令在 CentOS 上安装 Google Chrome。

CentOS How to Install Google Chrome on CentOS 1
CentOS How to Install Google Chrome on CentOS 2

4) 启动应用程序

输入 google-chrome & 以在 CentOS 上启动 Google Chrome 应用程序。

CentOS How to Install Google Chrome on CentOS 3

因此,我们已成功安装并开始使用 Google Chrome。


下一个主题安装 VIM