在CentOS 8上安装、启动及更新Google Chrome浏览器的方法

文章目录

在CentOS 8系统上安装Chrome浏览器的方法

更新Chrome浏览器的方法


在CentOS 8系统上安装Chrome浏览器的方法

1、先打开你的终端,并使用wget下载最新的Chrome 64位rpm软件包:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

2、下载完成后,安装:

sudo dnf localinstall google-chrome-stable_current_x86_64.rpm

更新Chrome浏览器的方法

在软件包安装过程中,正式的Google存储库将添加到你的系统中,使用以下cat命令来验证文件是否存在:

cat /etc/yum.repos.d/google-chrome.repo

运行结果如下:

[google-chrome]

name=google-chrome

baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64

enabled=1

gpgcheck=1

gpgkey=https://dl.google.com/linux/linux_signing_key.pub

发布新版本后,你可以使用dnf或通过桌面标准软件更新工具执行更新。

备注:

repo文件说明

name=c
baseurl=file:///media/Server (指定存放软件安装包所在的目录)
enabled=1 是否启用此配置
gpgcheck=1 (1为校验,0为不校验)
gpgkey= 密钥文件存放路径

因此如果要禁止更新,则只需要将enable设置为0即可:

sudo vim /etc/yum.repos.d/google-chrome.repo
发布了0 篇原创文章 · 获赞 0 · 访问量 378

猜你喜欢

转载自blog.csdn.net/RayMonD_D/article/details/104158926