CentOS 8上安装及更新Google 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
紧接着需要输入root密码,输入密码后按回车,在这个过程中按“y”接受在 CentOS 8上安装Google Chrome。
更新Chrome浏览器的方法
在软件包安装过程中,正式的Google存储库将添加到你的系统中,使用以下cat命令来验证文件是否存在:
cat /etc/yum.repos.d/google-chrome.repo
运行结果如下: