CentOS 7桌面环境YUM方式安装Google Chrome
2016-11-16 00:00
731 查看
终端切换为root用户
添加Google库
安装Google Chrome
一般会报检索密钥获取GPG密钥失败 //Google被墙
......后面想了哈,把库配置gpgcheck设为0,就不检查了嘛,呵呵~
su
添加Google库
cat << EOF > /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome - \$basearch baseurl=http://dl.google.com/linux/chrome/rpm/stable/\$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub EOF
安装Google Chrome
yum install google-chrome-stable #稳定版 yum install google-chrome-beta #测试版 yum install google-chrome-unstable #不稳定版
一般会报检索密钥获取GPG密钥失败 //Google被墙
......... 从 https://dl-ssl.google.com/linux/linux_signing_key.pub 检索密钥 获取 GPG 密钥失败:[Errno 14] curl#7 - "Failed connect to dl-ssl.google.com:443; Operation now in progress" ..........解决办法:
yum --nogpgcheck localinstall /var/cache/yum/x86_64/7/google-chrome/packages/google-chrome-stable-51.0.2704.106-1.x86_64.rpmPS:"/var/cache/yum/x86_64/7/google-chrome/packages/google-chrome-stable-51.0.2704.106-1.x86_64.rpm"请查看前面信息输出
......后面想了哈,把库配置gpgcheck设为0,就不检查了嘛,呵呵~
相关文章推荐
- CentOS 中 YUM 安装桌面环境(转)
- CentOS6.5系统安装及LAMP环境安装(yum方式)配置详解(四)
- CentOS 6.5下LNMP环境安装(yum方式)
- CentOS6.5 yum安装桌面环境
- CentOS 中 YUM 安装桌面环境
- CentOS 中 YUM 安装桌面环境
- CentOS 6.9 yum方式安装LAMP环境,并部署Discuz
- CentOS 6.5系统使用yum方式安装LAMP环境和phpMyAdmin详细过程
- CentOS 6.5系统使用yum方式安装LAMP环境和phpMyAdmin详细过程
- CentOS 中 YUM 安装桌面环境
- CentOS 中 YUM 安装桌面环境
- CentOS 6.5 系统安装及LAMP环境安装(yum方式)配置详解(三)
- CentOS 中 YUM 安装桌面环境
- CentOS 6.5 系统安装及LAMP环境安装(yum方式)配置详解(一)
- centos7 rhel7 linux下怎么安装google chrome 设置谷歌浏览器桌面快捷方式
- CentOS 7.4 yum方式安装LAMP环境,并部署WordPress,使用XCache优化性能
- CentOS 中 YUM 安装桌面环境
- CentOS 6.5 系统安装及LAMP环境安装(yum方式)配置详解(二)
- 使用yum方式在CentOS上安装Java环境,系统以CentOS6.4为例
- CentOS 中 YUM 安装桌面环境