红联Linux门户
Linux帮助

Fedora21安装Chromium浏览器

发布时间:2015-09-23 10:58:37来源:linux网站作者:孤独草原狼

经过一番折腾,终于把Chromium装好了,记录一下安装过程,以及遇到的问题。


1.新建一个Chromium的源文件(文件名随笔起,不过后缀名要repo):
vim google-chrome.repo
在此文件中复制如下内容:
# Place this file in your /etc/yum.repos.d/ directory

[fedora-chromium-stable]
name=Builds of the "stable" tag of the Chromium Web Browser
baseurl=https://repos.fedorapeople.org/repos/spot/chromium-stable/fedora-$releasever/$basearch/
enabled=1
skip_if_unavailable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/spot.gpg

[fedora-chromium-stable-source]
name=Builds of the "stable" tag of the Chromium Web Browser - Source
baseurl=https://repos.fedorapeople.org/repos/spot/chromium-stable/fedora-$releasever/SRPMS
enabled=0
skip_if_unavailable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/spot.gpg


2.yum命令安装:
但是如果直接 yum install chromium安装的话,会提示如下错误:
Retrieving key from file:///etc/pki/rpm-gpg/spot.gpg
GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/spot.gpg"

主要原因是此软件需要数字签名认证,可能由于某种原因无法通过验证吧。不过我们可以安装是取消gpg数字签名的认证。用如下命令安装即可:
yum install chromium --nogpgcheck


安装成功后便有如下提示:

Fedora21安装Chromium浏览器


ubuntu kylin 15.04 chromium浏览器无法播放视频的解决办法:http://www.linuxdiyf.com/linux/12598.html

Ubuntu 15.04下使用chromium浏览器看视频会有卡死现象:http://www.linuxdiyf.com/linux/12380.html

在openSUSE 11.4 x86_64上安装Chromium浏览器:http://www.linuxdiyf.com/linux/7179.html