Welcome 微信登录

首页 / 操作系统 / Linux / 教你在Fedora 14 下安装五笔输入法

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 ibusyum list ibus-wubiyum list wubiyum 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-packagekitfedora/filelists_db | 16 MB 02:22updates/filelists_db | 5.4 MB 00:48No 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-tableRepo : fedora匹配来自于:Other : ibus-table-wubi = 1.2.0.20090715-5.fc12scim-python-xingma-wubi-0.1.13rc1-6.fc12.i686 : WuBi table for Python XingMa IM: engineRepo : fedora匹配来自于:Other : scim-python-xingma-wubi = 0.1.13rc1-6.fc12ibus-table-xingma-1.2.0.20100305-2.fc13.noarch : The structural tables for: IBus-TableRepo : 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-packagekitfedora/metalink | 13 kB 00:01fedora | 4.3 kB 00:00fedora/primary_db | 10 MB 01:33updates/metalink | 8.8 kB 00:00updates | 4.5 kB 00:00updates/primary_db | 2.9 MB 00:25设置安装进程No package ibus-wubi available.无须任何处理[root@notebookf13 feng]# yum –help已加载插件:presto, refresh-packagekitUsage: yum [options] COMMANDList of Commands:check Check for problems in the rpmdbcheck-update 检查是否有软件包更新clean 删除缓存的数据deplist 列出软件包的依赖关系downgrade downgrade a packageerase 从系统中移除一个或多个软件包groupinfo 显示组的详细信息groupinstall 向系统中安装一组软件包grouplist 列出可安装的组groupremove 从系统中移除一组软件包help 显示用法信息history Display, or use, the transaction historyinfo 显示关于软件包或组的详细信息install 向系统中安装一个或多个软件包list 列出一个或一组软件包localinstall 安装本地的 RPMmakecache 创建元数据缓存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=RELEASEVERset 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-packagekitfedora/filelists_db | 16 MB 02:22updates/filelists_db | 5.4 MB 00:48No 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-packagekitUsage: yum [options] COMMANDList of Commands:check Check for problems in the rpmdbcheck-update 检查是否有软件包更新clean 删除缓存的数据deplist 列出软件包的依赖关系downgrade downgrade a packageerase 从系统中移除一个或多个软件包groupinfo 显示组的详细信息groupinstall 向系统中安装一组软件包grouplist 列出可安装的组groupremove 从系统中移除一组软件包help 显示用法信息history Display, or use, the transaction historyinfo 显示关于软件包或组的详细信息install 向系统中安装一个或多个软件包list 列出一个或一组软件包localinstall 安装本地的 RPMmakecache 创建元数据缓存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=RELEASEVERset 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-tableRepo : fedora匹配来自于:Other : ibus-table-wubi = 1.2.0.20090715-5.fc12scim-python-xingma-wubi-0.1.13rc1-6.fc12.i686 : WuBi table for Python XingMa IM: engineRepo : fedora匹配来自于:Other : scim-python-xingma-wubi = 0.1.13rc1-6.fc12ibus-table-xingma-1.2.0.20100305-2.fc13.noarch : The structural tables for: IBus-TableRepo : fedora匹配来自于:Other : ibus-table-wubi = 1.2.0.20100305-2.fc13[root@notebookf13 feng]# fgbash: 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 MInstalled size: 30 M确定吗?[y/N]:y下载软件包:Setting up and reading Presto delta metadatafedora/prestodelta | 414 B 00:00Processing delta metadataPackage(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:41warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEYfedora/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完毕! Fedora 14 中播放器Rhythmbox 支持MP3Linux终端环境基本使用相关资讯      Fedora 14 
  • Ubuntu 10.10与Fedora 14下使用scp  (11/15/2011 16:03:56)
  • Fedora 14 打印机配置 (printer   (09/03/2011 09:41:33)
  • Windows 7下硬盘安装Fedora 14  (08/19/2011 09:07:33)
  • Fedora 14配置无线连接  (09/29/2011 09:16:46)
  • Linux 更新后Nividia显卡问题及解  (08/19/2011 09:10:43)
  • Fedora 14 安装Matlab R2011a  (08/19/2011 09:00:10)
本文评论 查看全部评论 (2)
表情: 姓名: 字数


评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款