请问的武术之乡在哪里:Fedora14 英文界面使用中文输入法 f14

来源:百度文库 编辑:九乡新闻网 时间:2024/03/28 22:19:30
Fedora 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 toinstall 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) ",来自 /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

完毕!