今天在使用 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. 在 Ubuntu 上安装 TensorFlow (官方文档的翻译)

    本指南介绍了如何在 Ubuntu 上安装 TensorFlow.这些指令也可能对其他 Linux 变体起作用, 但是我们只在Ubuntu 14.04 或更高版本上测试了(我们只支持)  这些指令. 一 ...

  2. 线程安全-005-synchronized其他概念

    一.Synchornized锁重入 例子程序: package com.lhy.thread01; public class SyncDouble1 { public synchronized voi ...

  3. php 对数组按照字符串长度排序

    $file = file('zong.txt'); usort($file, 'sortByLen'); $handle = fopen('zong2.txt', 'a'); foreach ($fi ...

  4. WTF小程序之animation

    目录 animation 的几个关键方法 step 方法 export 方法 如何实现 infinate 动画 小程序的 animation 有一套怪异的 API,既不符合 css 的 keyfram ...

  5. ubuntu16.04 程序开机自启动设置及启动优化

    使用过程中,为了方便使用,有一些程序需要开机时自启动应用,下面将介绍一下ubuntu16.04下程序的开机自启动设置方法. 1  建立一个可执行程序的运行脚本如 keepalive.sh.内部写入要执 ...

  6. Android的Touch事件分发机制简单探析

    前言 Android中关于触摸事件的分发传递是一个很值得研究的东西.曾不见你引入了一个ListView的滑动功能,ListView就不听你手指的指唤来滚动了:也不知道为啥Button设置了onClic ...

  7. 将文件内容隐藏在bmp位图中

    首先要实现这个功能,你必须知道bmp位图文件的格式,这里我就不多说了,请看:http://www.cnblogs.com/xiehy/archive/2011/06/07/2074405.html 接 ...

  8. 年终培训关于磁盘冗余阵列、热备、群集、负载均衡、云计算、F5、Nginx等的概念和基本原理

    在系统部署实施过程中,客户往往会关注系统的可用性方面的指标. 对于一个具备高可用性的系统来说, 多机部署方案是必不可少的. 我们这个知识分享,就从多个不同层面来介绍多机部署方案. ---------- ...

  9. MySQL查看 InnoDB表中每个索引的高度

    我们都知道MySQL里,索引通常用B+树来实现的.B+树的叶子结点才具体保存数据(聚簇索引保存的是行数据:普通索引是主键,如有需要得回表),非叶子结点都是用来索引叶子结点的.假设索引高度为h,那么每次 ...

  10. 【微收藏】FourShadows.js – 时间感知的算法驱动的图标阴影JS库

    废话一箩筐,筐筐有心得 不小心养成了一个刷微博的习惯,主要还是关注一些前端人士,学习一些前端方面的知识,看到大家都有一些刷微博的小习惯.有的是转发一下,转发内容来一个标记(MARK).也有评论中标记为 ...