yum list |grep chm 或许这是yum查询软件的更方便方法

核心提示:

拿个实例说吧,yum list 查询名字里包含chm 的包,好像比较困难,因为yum list */*chmv*这种形式的命令是不支持的,这时可以使用yum list |grep chm 来代替执行。

下面是完整内容,比较啰嗦,没兴趣者可以略过。

在fedora15里安装chm阅读器使用,以前安装过好几版本的,也曾写文章比较过它们,总体感觉文件名以K开头的的一个包,还有一个以G开头的一个包比较好,于是在fedora里要安装它们。但包名忘了,要查询,不过不想查询之前写的文章,而是自己根据一些线索使用yum查询出来包名,这样或许更有意义。

前几天因为要查看php手册,中译版,文件比较大,fedora自带的chm阅读器打开超级慢的,所以要安装,印象中k开头的阅读器包名为gchm***,所以yum list */kchm*查询到是

kchmviewer.i686                            5.3-2.fc15                    @fedora

直接yum install kchmviewer安装,但g开头的那个不记得名字了,经试不是gchm***的形式,当时主要是需要查询php手册,所以当时没有查询这个包安装。刚刚突然想起这个包,于是想是否可以使用yum list 列出所有可安装的包,这样就可以grep之得到包名里带chm的了! 于是执行 yum list | grep chm,得到结果如下:

[root@fsc feng]# yum list |grep chm
chmlib.i686                                0.40-4.fc15                  @anaconda-InstallationRepo-201105131946.i686
fetchmail.i686                             6.3.19-4.fc15                @anaconda-InstallationRepo-201105131946.i686
kchmviewer.i686                            5.3-2.fc15                   @fedora
kchmviewer-common.noarch                   5.3-2.fc15                   @fedora
archmage.noarch                            0.2.4-3.fc15                 fedora
chm2pdf.noarch                             0.9.1-10.fc15                fedora
chmlib-devel.i686                          0.40-4.fc15                  fedora
chmsee.i686                                1.3.1.1-1.fc15               updates
gfs-fleischman-fonts.noarch                20080303-7.fc15              fedora
gnochm.noarch                              0.9.11-6.fc15                fedora
kchmviewer-qt.i686                         5.3-2.fc15                   fedora
perl-Email-MIME-Attachment-Stripper.noarch 1.316-7.fc15                 fedora
perl-File-chmod.noarch                     0.32-10.fc15                 fedora
perl-Kwiki-Attachments.noarch              0.21-2.fc15                  fedora
php-pear-Benchmark.noarch                  1.2.8-2.fc15                 fedora
python-chm.i686                            0.8.4-10.fc15                fedora
xchm.i686                                  1.20-1.fc15                  updates
[root@fsc feng]# yum install gnochm

看来yum 里也有类似rpm -qa这样的查询所有包的功能,执行这个命令,搜索包文件名里包含某个字符串的包名,将是非常简便的。尤其是yum list */*chm*这种形式的命令是不支持的,yum list |grep xxx将是一个很好的代替方案。

fedora配置国内yum更新源/以配置163开源镜像为例

fedora自带的yum更新源有时更新很慢,只有几K的下载速度,所以配置国内的yum更新源是很有必要的。

公网网络里使用163开源镜像是一个很好的选择,http://mirrors.163.com/ ,里面有很多个项目的yum源,而且在最右一栏里还配有说明文档,按其中如下部分操作


使用说明

下载fedora-163.repofedora-updates-163.repo, 放入/etc/yum.repos.d/

运行yum makecache生成缓存

推荐操作方法,转到配置目录,wget下载这两个文件:

[root@fsc feng]# cd /etc/yum.repos.d
[root@fsc yum.repos.d]# wget http://mirrors.163.com/.help/fedora-163.repo
[root@fsc yum.repos.d]# wget http://mirrors.163.com/.help/fedora-updates-163.repo
[root@fsc yum.repos.d]# yum makecache

最后一步,yum makecache 速度比较慢,可能要花几分钟时间,慢慢等就是了。之后再运行yum安装更新等命令时,速度将有极加增加。

就个人使用,感觉163的源有时会缺少部分包,这时,还是要到其它源里下载,这时速度就不能保证了。

fedora 12,13,14,15,16/centOS/redhat EL 使用第三方yum 源rpmfusion.org

以下内容来源于rpmfusion.org官方网站的使用说明

通过命令行注册并启用rpmfusion.org yum 源/Command Line Setup using rpm

To enable access to both the free and the nonfree repository use the following command:

  • Fedora 12 and 13 and 14 and 15:
    su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
  • Fedora Rawhide and what will become Fedora 16 (Alpha, Beta and snapshots):
    su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm'
  • RHEL5 or compatible like CentOS:
    su -c 'rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm'

官方网站的说明上好像还有使用浏览器安装rpm源的,没有试过,还是习惯使用命令行操作,毕竟命令行才是根本。

http://rpmfusion.org/Configuration

rpmfusion.org yum 源简介

RPM Fusion 是为 Fedora 及 Red Hat Enterprise Linux 用户提供的一个软件包仓库。各位 Fedora/RHEL /centOS朋友要是想要安装的软件在官方的仓库中找不到,不要泄气,兴许通过 RPM Fusion 你就找到了。

新启动的 RPM Fusion 合并了原有的 Dribble、Freshrpms、Livna 等软件包仓库,将成为最大的第三方软件包仓库。

通过 RPM Fusion 软件包仓库,你将找到 ATI/NVIDIA 显卡驱动、私有的音频/视频编码/解码器、游戏、模拟器、以及其他软件包等。

fedora/linux升级firefox/fedora13安装新版本firefox

fedora官方的firefox的rpm/yum安装包更新非常慢,远远滞后于firefox的升级步骤。拿目前(2010-08-29)的版本来看,firefox最新版本是3.6.8,但yum上,版本只更新到了3.6.3.

虽然firefox的最近几个子版本号更新并没太大的改动,使用上没有感觉到有什么不同之处,不过对于“新版本升级爱好者”来说,升级到最新版本心里会感觉顺畅一些。

完美的升级firefox,是一件很麻烦的事情。

从firefox官方下载升级包,解压缩到rpm安装位置/usr/lib/firefox-3.6,如果没有启用selinux,可以正常使用(解压缩到其它目录里也是一样可以正常运行,但这样会有两个版本的firefox,有点洁癖~~);但如果selinux运行,会提示错误:libxul.so无权限。因为对selinux并不熟悉,掏腾一下,没有搞定。

于是找rpm包,http://rpm.pbone.net/这里有rpm包,但没有最新的3.6.8的32位包,于是下载3.6.7的,下载安装,有依赖包libvpx,照例这这个网站下载顺利安装,接下来不有依赖包:xulrunner,下载安装,跟firefox两个包互相依赖,错误信息里提到到版本号还不对,比较可恶。加--force参数,两个包一起安装,还是不行。加上参数--nodeps --force得以安装,运行firefox,正常启动,查看版本号,是3.6.7的版本。完成。

突然想到用rpm -q firefox查看一下版本,发现两个版本的rpm包同时存在,

[root@fsc /]# rpm -q firefox
firefox-3.6.3-4.fc13.i686
firefox-3.6.7-1.fc13.i686

发现了,之前的安装发现这里应该用rpm升级进行的安装。于是需要,卸载老的版本,

[root@fsc /]# rpm -ev firefox-3.6.3-4.fc13.i686

xulrunnerb也是同时存在两个版本的,卸载时,有多个依赖包,太麻烦,不卸载了。 Linux博大精深,还要多多学习啊!

----------------------------------------------------

下面是操作过程中的部分命令记录,作为备忘参考。

[root@fsc /]# rpm -ivh /home/feng/Downloads/libvpx-0.9.1-2.fc13.i686.rpm
Preparing...                ########################################### [100%]
1:libvpx                 ########################################### [100%]
[root@fsc /]# rpm -ivh /home/feng/Downloads/firefox-3.6.7-1.fc13.i686.rpm
error: Failed dependencies:
xulrunner >= 1.9.2.7-1 is needed by firefox-3.6.7-1.fc13.i686
[root@fsc /]# rpm -ivh /home/feng/Downloads/xulrunner-1.9.2.7-2.fc13.i686.rpm
error: Failed dependencies:
xulrunner >= 1.9.2.4 conflicts with firefox-3.6.3-4.fc13.i686
[root@fsc /]# rpm -ivhf /home/feng/Downloads/xulrunner-1.9.2.7-2.fc13.i686.rpm
error: Failed dependencies:
xulrunner >= 1.9.2.4 conflicts with firefox-3.6.3-4.fc13.i686
[root@fsc /]# rpm -ivh --force /home/feng/Downloads/xulrunner-1.9.2.7-2.fc13.i686.rpm
error: Failed dependencies:
xulrunner >= 1.9.2.4 conflicts with firefox-3.6.3-4.fc13.i686
[root@fsc /]# rpm -ivhf /home/feng/Downloads/xulrunner-1.9.2.7-2.fc13.i686.rpm /home/feng/Downloads/firefox-3.6.7-1.fc13.i686.rpm
error: Failed dependencies:
xulrunner >= 1.9.2.4 conflicts with firefox-3.6.3-4.fc13.i686
[root@fsc /]# rpm -ivh /home/feng/Downloads/firefox-3.6.7-1.fc13.i686.rpm error: Failed dependencies:
xulrunner >= 1.9.2.7-1 is needed by firefox-3.6.7-1.fc13.i686
[root@fsc /]# rpm --help|grep force
--force                          short hand for --replacepkgs --replacefiles
(--force on upgrades does this
[root@fsc /]# rpm -ivh --force /home/feng/Downloads/xulrunner-1.9.2.7-2.fc13.i686.rpm /home/feng/Downloads/firefox-3.6.7-1.fc13.i686.rpm
error: Failed dependencies:
xulrunner >= 1.9.2.4 conflicts with firefox-3.6.3-4.fc13.i686
[root@fsc /]# rpm -ivh  /home/feng/Downloads/xulrunner-1.9.2.7-2.fc13.i686.rpm /home/feng/Downloads/firefox-3.6.7-1.fc13.i686.rpm  --nodeps --force
Preparing...                ########################################### [100%]
1:xulrunner              ########################################### [ 50%]
2:firefox                ########################################### [100%]
[root@fsc /]# rpm -q firefox
firefox-3.6.3-4.fc13.i686
firefox-3.6.7-1.fc13.i686
[root@fsc /]# rpm -ev firefox-3.6.3-4.fc13.i686
[root@fsc /]# rpm -q firefox
firefox-3.6.7-1.fc13.i686
[root@fsc /]# rpm -ev xulrunner-1.9.2.3-1.fc13.i686
error: Failed dependencies:
gecko-libs = 1.9.2.3 is needed by (installed) gnome-python2-gtkmozembed-2.25.3-17.fc13.i686
gecko-libs = 1.9.2.3 is needed by (installed) Miro-3.0-1.fc13.i686
xulrunner = 1.9.2.3-1.fc13 is needed by (installed) xulrunner-devel-1.9.2.3-1.fc13.i686

fedora 12/13/14 安装五笔输入法 及 yum查找所需软件包yum provides使用

新安装fedora13,跟以前版本一样,里面没有自带五笔输入法,中文输入法只有一个拼音,难道现在用五笔的人就那么少吗?!

以前安装五笔都是网上查安装fedora下yum 安装五笔的命令直接运行,根本没有记住,更不知道怎么通过yum查找需要软件包的方法。于是想探索一下yum查询命令的使用。

最开始直接使用yum install ibus-wubi,看五笔包是不是叫ibus-wubi,结果

No package ibus-wubi available.

看来不是这个名字,于是yum --help找查询软件包的命令,其中有一行

list 列出一个或一组软件包

于是yum list ibus

列出如下

已安装的软件包

ibus.i686 1.3.3-1.fc13 @anaconda-InstallationRepo-201005130056.i386

可安装的软件包

ibus.i686 1.3.6-1.fc13 updates

又运行

yum list ibus

yum list ibus-wubi

yum list wubi

yum list ibus-

都没有结果,看来yum list列出的是已经安装包。

再查yum --help

里面有命令

provides 查找提供指定内容的软件包

大概这个命令可以,于是

[root@notebookf13 feng]# yum provides wubi

已加载插件:presto, refresh-packagekit

警告:3.0.x 版本的 yum 匹配文件名时会出错。可以用 "*/wubi" 或 "*bin/wubi" 得到这个结果

No Matches found

语法不对,照提示来:

[root@notebookf13 feng]# yum provides */wubi

已加载插件:presto, refresh-packagekit

fedora/filelists_db | 16 MB 02:22

updates/filelists_db | 5.4 MB 00:48

No Matches found

之前安装印象,五笔输入法包名字不是wubi,难怪没有相附。改换查询命令yum provides *wubi 再查询

[root@notebookf13 feng]# yum provides *wubi

已加载插件:presto, refresh-packagekit

^Z

[1]+ Stopped yum provides *wubi

[root@notebookf13 feng]# bg 1

[1]+ yum provides *wubi &

[root@notebookf13 feng]# yum --help

[查询包比较慢,就丢后台了,再查一下yum --help]

[root@notebookf13 feng]# ibus-table-wubi-1.2.0.20090715-5.fc12.noarch : Wubi input methods for ibus-table

Repo : fedora

匹配来自于:

Other : ibus-table-wubi = 1.2.0.20090715-5.fc12

scim-python-xingma-wubi-0.1.13rc1-6.fc12.i686 : WuBi table for Python XingMa IM

: engine

Repo : fedora

匹配来自于:

Other : scim-python-xingma-wubi = 0.1.13rc1-6.fc12

ibus-table-xingma-1.2.0.20100305-2.fc13.noarch : The structural tables for

: IBus-Table

Repo : fedora

匹配来自于:

Other : ibus-table-wubi = 1.2.0.20100305-2.fc13

果然,查出五笔输入法的wubi包名了,ibus-table-wubi

好了,可以yum安装

yum install ibus-table-wubi

下面是整个过程控制台记录,留作参考:

[feng@notebookf13 ~]$ su

密码:

[root@notebookf13 feng]# yum install ibus-wubi

已加载插件:presto, refresh-packagekit

fedora/metalink | 13 kB 00:01

fedora | 4.3 kB 00:00

fedora/primary_db | 10 MB 01:33

updates/metalink | 8.8 kB 00:00

updates | 4.5 kB 00:00

updates/primary_db | 2.9 MB 00:25

设置安装进程

No package ibus-wubi available.

无须任何处理

[root@notebookf13 feng]# yum --help

已加载插件:presto, refresh-packagekit

Usage: yum [options] COMMAND

List of Commands:

check Check for problems in the rpmdb

check-update 检查是否有软件包更新

clean 删除缓存的数据

deplist 列出软件包的依赖关系

downgrade downgrade a package

erase 从系统中移除一个或多个软件包

groupinfo 显示组的详细信息

groupinstall 向系统中安装一组软件包

grouplist 列出可安装的组

groupremove 从系统中移除一组软件包

help 显示用法信息

history Display, or use, the transaction history

info 显示关于软件包或组的详细信息

install 向系统中安装一个或多个软件包

list 列出一个或一组软件包

localinstall 安装本地的 RPM

makecache 创建元数据缓存

provides 查找提供指定内容的软件包

reinstall 覆盖安装一个包

repolist 显示已配置的仓库

resolvedep 判断哪个包提供了指定的依赖

search 在软件包详细信息中搜索指定字符串

shell 运行交互式的 yum 外壳

update 更新系统中的一个或多个软件包

upgrade 更新软件包同时考虑软件包取代关系

version Display a version for the machine and/or available repos.

Options:

-h, --help show this help message and exit

-t, --tolerant 容忍错误

-C, --cacheonly run entirely from system cache, don't update cache

-c [config file], --config=[config file]

配置文件路径

-R [minutes], --randomwait=[minutes]

命令最长等待时间

-d [debug level], --debuglevel=[debug level]

调试输出级别

--showduplicates 在 list/search 命令下,显示仓库里重复的条目。

-e [error level], --errorlevel=[error level]

错误输出级别

--rpmverbosity=[debug level name]

debugging output level for rpm

-q, --quiet 安静的操作

-v, --verbose verbose operation

-y, --assumeyes 回答所有的问题为是

--version 显示 Yum 版本信息并退出

--installroot=[path] 设置目标根目录

--enablerepo=[repo] 启用一个或多个仓库(支持通配符)

--disablerepo=[repo] 禁用一个或多个仓库(支持通配符)

-x [package], --exclude=[package]

用全名或通配符排除软件包

--disableexcludes=[repo]

禁止从主配置,从仓库或者从任何位置排除

--obsoletes 升级时考虑软件包取代关系

--noplugins 禁用 Yum 插件

--nogpgcheck 禁用 gpg 签名检测

--disableplugin=[plugin]

禁用指定名称的插件

--enableplugin=[plugin]

enable plugins by name

--skip-broken 跳过有依赖问题的软件包

--color=COLOR 配置是否使用颜色

--releasever=RELEASEVER

set value of $releasever in yum config and repo files

--disablepresto disable Presto plugin and don't download any deltarpms

插件选项:

[root@notebookf13 feng]# yum list ibus

已加载插件:presto, refresh-packagekit

已安装的软件包

ibus.i686 1.3.3-1.fc13 @anaconda-InstallationRepo-201005130056.i386

可安装的软件包

ibus.i686 1.3.6-1.fc13 updates

[root@notebookf13 feng]# yum list ibus-wubi

已加载插件:presto, refresh-packagekit

错误:没有匹配的软件包可以列出

[root@notebookf13 feng]# yum list wubi

已加载插件:presto, refresh-packagekit

错误:没有匹配的软件包可以列出

[root@notebookf13 feng]# yum list ibus-

已加载插件:presto, refresh-packagekit

错误:没有匹配的软件包可以列出

[root@notebookf13 feng]# yum provides wubi

已加载插件:presto, refresh-packagekit

警告:3.0.x 版本的 yum 匹配文件名时会出错。可以用 "*/wubi" 或 "*bin/wubi" 得到这个结果

No Matches found

[root@notebookf13 feng]# yum provides */wubi

已加载插件:presto, refresh-packagekit

fedora/filelists_db | 16 MB 02:22

updates/filelists_db | 5.4 MB 00:48

No Matches found

[root@notebookf13 feng]# yum provides *wubi

已加载插件:presto, refresh-packagekit

^Z

[1]+ Stopped yum provides *wubi

[root@notebookf13 feng]# bg 1

[1]+ yum provides *wubi &

[root@notebookf13 feng]# yum --help

已加载插件:presto, refresh-packagekit

Usage: yum [options] COMMAND

List of Commands:

check Check for problems in the rpmdb

check-update 检查是否有软件包更新

clean 删除缓存的数据

deplist 列出软件包的依赖关系

downgrade downgrade a package

erase 从系统中移除一个或多个软件包

groupinfo 显示组的详细信息

groupinstall 向系统中安装一组软件包

grouplist 列出可安装的组

groupremove 从系统中移除一组软件包

help 显示用法信息

history Display, or use, the transaction history

info 显示关于软件包或组的详细信息

install 向系统中安装一个或多个软件包

list 列出一个或一组软件包

localinstall 安装本地的 RPM

makecache 创建元数据缓存

provides 查找提供指定内容的软件包

reinstall 覆盖安装一个包

repolist 显示已配置的仓库

resolvedep 判断哪个包提供了指定的依赖

search 在软件包详细信息中搜索指定字符串

shell 运行交互式的 yum 外壳

update 更新系统中的一个或多个软件包

upgrade 更新软件包同时考虑软件包取代关系

version Display a version for the machine and/or available repos.

Options:

-h, --help show this help message and exit

-t, --tolerant 容忍错误

-C, --cacheonly run entirely from system cache, don't update cache

-c [config file], --config=[config file]

配置文件路径

-R [minutes], --randomwait=[minutes]

命令最长等待时间

-d [debug level], --debuglevel=[debug level]

调试输出级别

--showduplicates 在 list/search 命令下,显示仓库里重复的条目。

-e [error level], --errorlevel=[error level]

错误输出级别

--rpmverbosity=[debug level name]

debugging output level for rpm

-q, --quiet 安静的操作

-v, --verbose verbose operation

-y, --assumeyes 回答所有的问题为是

--version 显示 Yum 版本信息并退出

--installroot=[path] 设置目标根目录

--enablerepo=[repo] 启用一个或多个仓库(支持通配符)

--disablerepo=[repo] 禁用一个或多个仓库(支持通配符)

-x [package], --exclude=[package]

用全名或通配符排除软件包

--disableexcludes=[repo]

禁止从主配置,从仓库或者从任何位置排除

--obsoletes 升级时考虑软件包取代关系

--noplugins 禁用 Yum 插件

--nogpgcheck 禁用 gpg 签名检测

--disableplugin=[plugin]

禁用指定名称的插件

--enableplugin=[plugin]

enable plugins by name

--skip-broken 跳过有依赖问题的软件包

--color=COLOR 配置是否使用颜色

--releasever=RELEASEVER

set value of $releasever in yum config and repo files

--disablepresto disable Presto plugin and don't download any deltarpms

插件选项:

[root@notebookf13 feng]# ibus-table-wubi-1.2.0.20090715-5.fc12.noarch : Wubi input methods for ibus-table

Repo : fedora

匹配来自于:

Other : ibus-table-wubi = 1.2.0.20090715-5.fc12

scim-python-xingma-wubi-0.1.13rc1-6.fc12.i686 : WuBi table for Python XingMa IM

: engine

Repo : fedora

匹配来自于:

Other : scim-python-xingma-wubi = 0.1.13rc1-6.fc12

ibus-table-xingma-1.2.0.20100305-2.fc13.noarch : The structural tables for

: IBus-Table

Repo : fedora

匹配来自于:

Other : ibus-table-wubi = 1.2.0.20100305-2.fc13

[root@notebookf13 feng]# fg

bash: fg: job has terminated

[1]+ Done yum provides *wubi

[root@notebookf13 feng]# yum install ibus-table-wubi

已加载插件:presto, refresh-packagekit

设置安装进程

Package ibus-table-wubi is obsoleted by ibus-table-xingma, trying to install ibus-table-xingma-1.2.0.20100305-2.fc13.noarch instead

解决依赖关系

--> 执行事务检查

---> 软件包 ibus-table-xingma.noarch 0:1.2.0.20100305-2.fc13 将被 升级

--> 处理依赖关系 ibus-table >= 1.2,它被软件包 ibus-table-xingma-1.2.0.20100305-2.fc13.noarch 需要

--> 执行事务检查

---> 软件包 ibus-table.noarch 0:1.2.0.20100111-7.fc13 将被 升级

--> 完成依赖关系计算

依赖关系解决

================================================================================

软件包 架构 版本 仓库 大小

================================================================================

正在安装:

ibus-table-xingma noarch 1.2.0.20100305-2.fc13 fedora 8.4 M

为依赖而安装:

ibus-table noarch 1.2.0.20100111-7.fc13 fedora 244 k

事务概要

================================================================================

安装 2 软件包

更新 0 软件包

总下载量:8.7 M

Installed size: 30 M

确定吗?[y/N]:y

下载软件包:

Setting up and reading Presto delta metadata

fedora/prestodelta | 414 B 00:00

Processing delta metadata

Package(s) data still to download: 8.7 M

(1/2): ibus-table-1.2.0.20100111-7.fc13.noarch.rpm | 244 kB 00:14

(2/2): ibus-table-xingma-1.2.0.20100305-2.fc13.noarch.rp | 8.4 MB 09:26

--------------------------------------------------------------------------------

总计 15 kB/s | 8.7 MB 09:41

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEY

fedora/gpgkey | 3.2 kB 00:00 ...

导入 GPG 密钥 0xE8E40FDE "Fedora (13) <fedora@fedoraproject.org>",来自 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386

确定吗?[y/N]:y

运行 rpm_check_debug

执行事务测试

事务测试成功

执行事务

正在安装 : ibus-table-1.2.0.20100111-7.fc13.noarch 1/2

正在安装 : ibus-table-xingma-1.2.0.20100305-2.fc13.noarch 2/2

已安装:

ibus-table-xingma.noarch 0:1.2.0.20100305-2.fc13

作为依赖被安装:

ibus-table.noarch 0:1.2.0.20100111-7.fc13

完毕!

rpmfusion.org:redhat/fedora系列RPM/yum软件包仓库

rpmfusion.org 提供了许多常用但不被包含在 Fedora/Red Hat 默认软件仓库中的软件包,比如 SMPlayer (Linux 下最受欢迎的影音播放器), aMule (Linux 下的电骡) 等等。

RPM Fusion 提供的 RPM 软件包可以供所有的 Fedora 版本及 RHEL5 使用,只需将 rpmfusion 软件包仓库配置到系统中,用户就可以简单的使用 yum 或 PackageKit 执行软件包的管理工作。

RPM Fusion 融合了 Dribble, FreshrpmsLivna 这几个软件包仓库中的内容,因此只使用 RPM Fusion 这一个软件包仓库能够为用户提供足够多的 RPM 软件包。

启用 RPM Fusion 软件包仓库

Fedora 10, 11 or 12

~]$ su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm'

Fedora 13

~]$ su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm'

RHEL5 及其它发行版,如 CentOS

~]$ su -c 'rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm'

根据你的 Linux 发行版类型,安装对应的 RPM Fusion 软件包。命令执行完成之后,可以使用使用以下命令验证 rpmfusion 软件包仓库是否安装成功:

~]$ rpm -q rpmfusion-free-release
rpmfusion-free-release-12-1.noarch

结果输出为 rpmfusion-free-releas-x-x.noarch 则说明安装成功了 :D

[来源http://lugir.com/fedora/rpmfusion-org.html]