今天在使用 fedora 安装 chrome 的时候遇到了问题,今天进行将安装过程进行记录下来。需要安装第三方软件仓库。

我们需要进行安装 fedora-workstation-repositories 这个仓库 使用 yum/dnf 命令

[root@localhost ~]# yum info fedora-workstation-repositories
Last metadata expiration check: :: ago on Thu Sep :: AM EDT.
Installed Packages
Name : fedora-workstation-repositories
Version :
Release : .fc28
Arch : noarch
Size : 3.2 k
Source : fedora-workstation-repositories--.fc28.src.rpm
Repo : @System
From repo : fedora
Summary : Repository files for searchable repositories
URL : https://fedoraproject.org/wiki/Workstation/Third_Party_Software_Repositories
License : GPL
Description : Repository files that make some select non-Fedora software available
: via search in gnome-software.

安装并开启chrome 仓库,安装这个 rpm 包就是在/etc/yum.repo.d 文件夹中生成仓库文件:

dnf install fedora-workstation-repositories

dnf config-manager --set-enabled google-chrome

在 Fedora 26/25 CentOS/RHEL 7.5 上,使用下列代码添加仓库:

cat << EOF > /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=
gpgcheck=
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
EOF

安装稳定版:

## Install Google Chrome Stable version ##
## Fedora /// ##
dnf install google-chrome-stable ## CentOS/RHEL 7.5 ##
yum install google-chrome-stable

安装测试版:

## Install Google Chrome Unstable version ##
## Fedora /// ##
dnf install google-chrome-unstable ## CentOS/RHEL 7.5 ##
yum install google-chrome-unstable

安装不稳定版:

## Install Google Chrome Unstable version ##
## Fedora /// ##
dnf install google-chrome-unstable ## CentOS/RHEL 7.5 ##
yum install google-chrome-unstable

安装完整后,即可使用。

上则命令中chrome安装文件位置分布如下,使用rpm 命令可进行检测:

/etc/cron.daily/google-chrome
/opt/google/chrome
/opt/google/chrome/MEIPreload
/opt/google/chrome/MEIPreload/manifest.json
/opt/google/chrome/MEIPreload/preloaded_data.pb
/opt/google/chrome/chrome
/opt/google/chrome/chrome-sandbox
/opt/google/chrome/chrome_100_percent.pak
/opt/google/chrome/chrome_200_percent.pak
/opt/google/chrome/default-app-block
/opt/google/chrome/default_apps
/opt/google/chrome/default_apps/docs.crx
/opt/google/chrome/default_apps/drive.crx
/opt/google/chrome/default_apps/external_extensions.json
/opt/google/chrome/default_apps/gmail.crx
/opt/google/chrome/default_apps/youtube.crx
/opt/google/chrome/google-chrome
/opt/google/chrome/icudtl.dat
/opt/google/chrome/libwidevinecdm.so
/opt/google/chrome/locales
/opt/google/chrome/locales/am.pak
/opt/google/chrome/locales/ar.pak
/opt/google/chrome/locales/bg.pak
/opt/google/chrome/locales/bn.pak
/opt/google/chrome/locales/ca.pak
/opt/google/chrome/locales/cs.pak
/opt/google/chrome/locales/da.pak
/opt/google/chrome/locales/de.pak
/opt/google/chrome/locales/el.pak
/opt/google/chrome/locales/en-GB.pak
/opt/google/chrome/locales/en-US.pak
/opt/google/chrome/locales/es-.pak
/opt/google/chrome/locales/es.pak
/opt/google/chrome/locales/et.pak
/opt/google/chrome/locales/fa.pak
/opt/google/chrome/locales/fi.pak
/opt/google/chrome/locales/fil.pak
/opt/google/chrome/locales/fr.pak
/opt/google/chrome/locales/gu.pak
/opt/google/chrome/locales/he.pak
/opt/google/chrome/locales/hi.pak
/opt/google/chrome/locales/hr.pak
/opt/google/chrome/locales/hu.pak
/opt/google/chrome/locales/id.pak
/opt/google/chrome/locales/it.pak
/opt/google/chrome/locales/ja.pak
/opt/google/chrome/locales/kn.pak
/opt/google/chrome/locales/ko.pak
/opt/google/chrome/locales/lt.pak
/opt/google/chrome/locales/lv.pak
/opt/google/chrome/locales/ml.pak
/opt/google/chrome/locales/mr.pak
/opt/google/chrome/locales/ms.pak
/opt/google/chrome/locales/nb.pak
/opt/google/chrome/locales/nl.pak
/opt/google/chrome/locales/pl.pak
/opt/google/chrome/locales/pt-BR.pak
/opt/google/chrome/locales/pt-PT.pak
/opt/google/chrome/locales/ro.pak
/opt/google/chrome/locales/ru.pak
/opt/google/chrome/locales/sk.pak
/opt/google/chrome/locales/sl.pak
/opt/google/chrome/locales/sr.pak
/opt/google/chrome/locales/sv.pak
/opt/google/chrome/locales/sw.pak
/opt/google/chrome/locales/ta.pak
/opt/google/chrome/locales/te.pak
/opt/google/chrome/locales/th.pak
/opt/google/chrome/locales/tr.pak
/opt/google/chrome/locales/uk.pak
/opt/google/chrome/locales/vi.pak
/opt/google/chrome/locales/zh-CN.pak
/opt/google/chrome/locales/zh-TW.pak
/opt/google/chrome/nacl_helper
/opt/google/chrome/nacl_helper_bootstrap
/opt/google/chrome/nacl_irt_x86_64.nexe
/opt/google/chrome/natives_blob.bin
/opt/google/chrome/product_logo_128.png
/opt/google/chrome/product_logo_16.png
/opt/google/chrome/product_logo_22.png
/opt/google/chrome/product_logo_24.png
/opt/google/chrome/product_logo_256.png
/opt/google/chrome/product_logo_32.png
/opt/google/chrome/product_logo_32.xpm
/opt/google/chrome/product_logo_48.png
/opt/google/chrome/product_logo_64.png
/opt/google/chrome/resources.pak
/opt/google/chrome/swiftshader
/opt/google/chrome/swiftshader/libEGL.so
/opt/google/chrome/swiftshader/libGLESv2.so
/opt/google/chrome/v8_context_snapshot.bin
/opt/google/chrome/xdg-mime
/opt/google/chrome/xdg-settings
/usr/bin/google-chrome
/usr/bin/google-chrome-stable
/usr/share/appdata/google-chrome.appdata.xml
/usr/share/applications/google-chrome.desktop
/usr/share/gnome-control-center/default-apps/google-chrome.xml
/usr/share/man/man1/google-chrome-stable..gz
/usr/share/man/man1/google-chrome..gz

保持更新,转载请注明出处。

Install Google Chrome on Fedora 28/27, CentOS/RHEL 7.5 (在 fedora 28 等 上 安装 chrome)的更多相关文章

  1. Install LAMP Server (Apache, MariaDB, PHP) On CentOS/RHEL/Scientific Linux 7

    Install LAMP Server (Apache, MariaDB, PHP) On CentOS/RHEL/Scientific Linux 7 By SK  - August 12, 201 ...

  2. 如何在linux CentOS 上安装chrome 谷歌浏览器?

    获得linux命令的root权限:http://blog.csdn.net/mddy2001/article/details/76521101. 更改密码在终端中输入:sudo passwd root ...

  3. 在Ubuntu上安装Chrome Driver和Firefox Driver

    在Ubuntu上安装Chrome Driver和Firefox Driver 此文章只介绍Chrome Driver(Firefox Driver和该步骤相同) 下载链接:http://chromed ...

  4. 在Ubuntu上安装Chrome浏览器和ChromeDriver

    启动脚本后报错 selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable may have w ...

  5. [转载]Install Opera 12.16 Web Browser in CentOS/RHEL and Fedora

    FROM: http://tecadmin.net/install-opera-web-browser-in-centos-rhel-fedora/ Opera is an modern web br ...

  6. Install Oracle Java JDK/JRE 7u55 on Fedora 20/19, CentOS/RHEL 6.5/5.10

    What’s new in Sun/Oracle Java 7 VM Compressed 64-bit object pointers Garbage-First GC (G1) JSR 292: ...

  7. Install MySQL 5.7 on Fedora 25/24, CentOS/RHEL 7.3/6.8/5.11

    MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user ...

  8. 如何安装 JAVA 7 (JDK 7u75) 在 CentOS/RHEL 7/6/5 Fedora

    先下载JDK For 64 Bit:- # cd /opt/ # wget --no-cookies --no-check-certificate --header "Cookie: gpw ...

  9. linux CentOS 上安装chrome

    1.wget http://chrome.richardlloyd.org.uk/install_chrome.sh   (用wget下载shell文件)2.chmod u+x install_chr ...

随机推荐

  1. python 多环境共存 基础

    正在学习python 使用的是3.3 但是由于种种原因吧 还得使用python2.7 所以记录一下 如何安装2个版本 假设 在windows 下面安装的python 版本 和路径 如下 python ...

  2. Android_自适应布局

    1.屏幕相关概念1.1分辨率是指屏幕上有横竖各有多少个像素1.2屏幕尺寸指的是手机实际的物理尺寸,比如常用的2.8英寸,3.2英寸,3.5英寸,3.7英寸android将屏幕大小分为四个级别(smal ...

  3. Spring Security OAuth笔记

    因为工作需要,系统权限安全方面可能要用到Spring Security OAuth2.0,所以,近几天了解了一下OAuth相关的东西.目前好像还没有系统的学习资料,学习主要是通过博客,内容都是大同小异 ...

  4. Eureka编程

    在一些场景下,我们需要监听eureka服务中心的一些状态,譬如某个微服务挂掉了,我们希望能监听到,并给管理员发送邮件通知或钉钉告警. 一.Eureka的监听事件,可以用来监控.告警EurekaInst ...

  5. CentOS7用阿里云Docker Yum源在线安装Docker

    一.参考文档 官方Docker安装文档:https://docs.docker.com/install/linux/docker-ce/centos 阿里云Docker安装文档:https://yq. ...

  6. 读了这篇文章,你将变身web分析大师

    欢迎大家前往腾讯云+社区,获取更多腾讯海量技术实践干货哦~ 本文由shirishiyue发表于云+社区专栏 1.工具介绍 ​ 这是一个非常详细且专业的web页面性能分析工具,而且开源的!如果你打不开其 ...

  7. 浅谈Java泛型中的? extends E和?super E

    https://blog.csdn.net/zymx14/article/details/78073757

  8. SpringBoot----跨域配置

    前言: 当它请求的一个资源是从一个与它本身提供的第一个资源的不同的域名时,一个资源会发起一个跨域HTTP请求(Cross-site HTTP request).比如说,域名A ( http://dom ...

  9. 移动APP开发框架盘点

    移动APP开发框架盘点 总体概述 现在比较流行的移动APP开发框架有以下六种:网页.混合.渐进.原生.桥接.自绘.前三种体验与Web的体验相似,后三种与原生APP的体验相似.这六种框架形式,都有自己适 ...

  10. MVC EF 执行SQL语句(转载)

    MVC EF 执行SQL语句 最近悟出来一个道理,在这儿分享给大家:学历代表你的过去,能力代表你的现在,学习代表你的将来. 十年河东十年河西,莫欺少年穷 学无止境,精益求精 闲着没事,看了一篇关于LI ...