添加FZUG源终端:进入到root1.下载google-chrome.repo并保存$wget http://repo.fdzh.org/chrome/google-chrome-mirrors.repo -P/etc/yum.repos.d/ 2.安装Chrome$ sudo dnf install google-chrome-stable [[email protected] xinjian_wang]# yum search google-chrome 已加载插件:fastestmirror, langpacks, presto, refresh-packagekit 没有命令: rearch。请使用 /usr/bin/yum --help [[email protected] xinjian_wang]# yum search google-chrome 已加载插件:fastestmirror, langpacks, presto, refresh-packagekit Loading mirror speeds from cached hostfile * fedora: mirror.bjtu.edu.cn * livna: ftp-stud.fht-esslingen.de * rpmfusion-free: mirror.bjtu.edu.cn * rpmfusion-free-updates: mirror.bjtu.edu.cn * rpmfusion-nonfree: mirror.bjtu.edu.cn * rpmfusion-nonfree-updates: mirror.bjtu.edu.cn * updates: mirrors.163.com updates/pkgtags | 76 kB 00:00 http://mirrors.163.com/fedora/updates/16/x86_64/repodata/pkgtags.sqlite.gz: [Errno -1] Metadata file does not match checksum 尝试其他镜像。 updates/pkgtags | 76 kB 00:00 =========================== N/S 匹配:google-chrome ============================ google-chrome-beta.x86_64 : Google Chrome google-chrome-stable.x86_64 : Google Chrome google-chrome-unstable.x86_64 : Google Chrome 名称和简介匹配 only,使用“search all”试试。 [[email protected] xinjian_wang]# yum install google-chrome-stable.x86_64 已加载插件:fastestmirror, langpacks, presto, refresh-packagekit Loading mirror speeds from cached hostfile * fedora: mirror.bjtu.edu.cn * livna: ftp-stud.fht-esslingen.de * rpmfusion-free: mirror.bjtu.edu.cn * rpmfusion-free-updates: mirror.bjtu.edu.cn * rpmfusion-nonfree: mirror.bjtu.edu.cn * rpmfusion-nonfree-updates: mirror.bjtu.edu.cn * updates: mirrors.163.com 解决依赖关系 --> 执行事务检查 ---> 软件包 google-chrome-stable.x86_64.0.24.0.1312.56-177594 将被 安装 --> 完成依赖关系计算 依赖关系解决 ================================================================================ Package 架构 版本 仓库 大小 ================================================================================ 正在安装: google-chrome-stable x86_64 24.0.1312.56-177594 google64 46 M 事务概要 ================================================================================ 安装 1 软件包 总下载量:46 M 安装大小:136 M 确定吗?[y/N]:y 下载软件包: ^[[6~google-chrome-stable-24.0 87% [============= ] 349 kB/s | 40 MB 00:16google-chrome-stable-24.0.1312.56-177594.x86_64.rpm | 46 MB 01:43 warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY google-chrome-stable-24.0.1312.56-177594.x86_64.rpm 的公钥没有安装 从 https://dl-ssl.google.com/linux/linux_signing_key.pub 检索密钥 Importing GPG key 0x7FAC5991: Userid : "Google, Inc. Linux Package Signing Key " Fingerprint: 4cca 1eaf 950c ee4a b839 76dc a040 830f 7fac 5991 From : https://dl-ssl.google.com/linux/linux_signing_key.pub 确定吗?[y/N]:y 确定吗?[y/N]:y 运行事务检查 执行事务测试 事务测试成功 执行事务 正在安装 : google-chrome-stable-24.0.1312.56-177594.x86_64 1/1 Redirecting to /bin/systemctl start atd.service Verifying : google-chrome-stable-24.0.1312.56-177594.x86_64 1/1 已安装: google-chrome-stable.x86_64 0:24.0.1312.56-177594 完毕!
时间: 2024-10-13 00:09:46