日韩黑丝制服一区视频播放|日韩欧美人妻丝袜视频在线观看|九九影院一级蜜桃|亚洲中文在线导航|青草草视频在线观看|婷婷五月色伊人网站|日本一区二区在线|国产AV一二三四区毛片|正在播放久草视频|亚洲色图精品一区

分享

Fedora14 英文界面使用中文輸入法 f14

 zhuziay 2011-04-13
Fedora 14 安裝五筆輸入法 及 yum查找所需軟件包yum provides使用


新安裝Fedora13,跟以前版本一樣,里面沒有自帶五筆輸入法,中文輸入法只有一個拼音,難道現(xiàn)在用五筆的人就那么少嗎?!

以前安裝五筆都是網(wǎng)上查安裝Fedora下yum 安裝五筆的命令直接運行,根本沒有記住,更不知道怎么通過yum查找需要軟件包的方法。于是想探索一下yum查詢命令的使用。


最開始直接使用yum install ibus-wubi,看五筆包是不是叫ibus-wubi,結(jié)果

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-

都沒有結(jié)果,看來yum list列出的是已經(jīng)安裝包。

再查yum –help

里面有命令

provides 查找提供指定內(nèi)容的軟件包

大概這個命令可以,于是

[root@notebookf13 feng]# yum provides wubi

已加載插件:presto, refresh-packagekit

警告:3.0.x 版本的 yum 匹配文件名時會出錯。可以用 "*/wubi" 或 "*bin/wubi" 得到這個結(jié)果

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

設(shè)置安裝進程

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 刪除緩存的數(shù)據(jù)

deplist 列出軟件包的依賴關(guān)系

downgrade downgrade a package

erase 從系統(tǒng)中移除一個或多個軟件包

groupinfo 顯示組的詳細信息

groupinstall 向系統(tǒng)中安裝一組軟件包

grouplist 列出可安裝的組

groupremove 從系統(tǒng)中移除一組軟件包

help 顯示用法信息

history Display, or use, the transaction history

info 顯示關(guān)于軟件包或組的詳細信息

install 向系統(tǒng)中安裝一個或多個軟件包

list 列出一個或一組軟件包

localinstall 安裝本地的 RPM

makecache 創(chuàng)建元數(shù)據(jù)緩存

provides 查找提供指定內(nèi)容的軟件包

reinstall 覆蓋安裝一個包

repolist 顯示已配置的倉庫

resolvedep 判斷哪個包提供了指定的依賴

search 在軟件包詳細信息中搜索指定字符串

shell 運行交互式的 yum 外殼

update 更新系統(tǒng)中的一個或多個軟件包

upgrade 更新軟件包同時考慮軟件包取代關(guān)系

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]

調(diào)試輸出級別

–showduplicates 在 list/search 命令下,顯示倉庫里重復(fù)的條目。

-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] 設(shè)置目標(biāo)根目錄

–enablerepo=[repo] 啟用一個或多個倉庫(支持通配符)

–disablerepo=[repo] 禁用一個或多個倉庫(支持通配符)

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

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

–disableexcludes=[repo]

禁止從主配置,從倉庫或者從任何位置排除

–obsoletes 升級時考慮軟件包取代關(guān)系

–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" 得到這個結(jié)果

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 刪除緩存的數(shù)據(jù)

deplist 列出軟件包的依賴關(guān)系

downgrade downgrade a package

erase 從系統(tǒng)中移除一個或多個軟件包

groupinfo 顯示組的詳細信息

groupinstall 向系統(tǒng)中安裝一組軟件包

grouplist 列出可安裝的組

groupremove 從系統(tǒng)中移除一組軟件包

help 顯示用法信息

history Display, or use, the transaction history

info 顯示關(guān)于軟件包或組的詳細信息

install 向系統(tǒng)中安裝一個或多個軟件包

list 列出一個或一組軟件包

localinstall 安裝本地的 RPM

makecache 創(chuàng)建元數(shù)據(jù)緩存

provides 查找提供指定內(nèi)容的軟件包

reinstall 覆蓋安裝一個包

repolist 顯示已配置的倉庫

resolvedep 判斷哪個包提供了指定的依賴

search 在軟件包詳細信息中搜索指定字符串

shell 運行交互式的 yum 外殼

update 更新系統(tǒng)中的一個或多個軟件包

upgrade 更新軟件包同時考慮軟件包取代關(guān)系

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]

調(diào)試輸出級別

–showduplicates 在 list/search 命令下,顯示倉庫里重復(fù)的條目。

-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] 設(shè)置目標(biāo)根目錄

–enablerepo=[repo] 啟用一個或多個倉庫(支持通配符)

–disablerepo=[repo] 禁用一個或多個倉庫(支持通配符)

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

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

–disableexcludes=[repo]

禁止從主配置,從倉庫或者從任何位置排除

–obsoletes 升級時考慮軟件包取代關(guān)系

–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

設(shè)置安裝進程

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

解決依賴關(guān)系

–> 執(zhí)行事務(wù)檢查

—> 軟件包 ibus-table-xingma.noarch 0:1.2.0.20100305-2.fc13 將被 升級

–> 處理依賴關(guān)系 ibus-table >= 1.2,它被軟件包 ibus-table-xingma-1.2.0.20100305-2.fc13.noarch 需要

–> 執(zhí)行事務(wù)檢查

—> 軟件包 ibus-table.noarch 0:1.2.0.20100111-7.fc13 將被升級

–> 完成依賴關(guān)系計算

依賴關(guān)系解決

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

軟件包 架構(gòu) 版本 倉庫 大小

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

正在安裝:

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

事務(wù)概要

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

安裝 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 …

導(dǎo)入 GPG 密鑰 0xE8E40FDE "Fedora (13) <fedora@fedoraproject.org>",來自 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386

確定嗎?[y/N]:y

運行 rpm_check_debug

執(zhí)行事務(wù)測試

事務(wù)測試成功

執(zhí)行事務(wù)

正在安裝 : 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

完畢!


    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多