[root@dywH ~]# yum [options] [command] [package ...] [option]:主要的搜尋選項有: [查詢工作項目] [相關參數]:這方面的參數有: search :搜尋某個套件名稱或是描述 (description) 的重要關鍵字; list :列出目前 yum 所管理的所有的套件名稱與版本,有點類似 rpm -qa; info :列出套件的相關訊息,類似 rpm -qai 的執行結果; provides or whatprovides:搜尋包含某檔案的套件,類似 rpm -qf 的功能。
[root@dywH ~]# yum search cjk
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
================================= Matched: cjk =================================
cjkuni-fonts-common.noarch : Common package of CJK Unifonts
cjkuni-ukai-fonts.noarch : Chinese Unicode TrueType font in Kai face
cjkuni-uming-fonts.noarch : Chinese Unicode TrueType font in Ming face
texlive-cjk.noarch : CJK language support
poppler-data.noarch : Encoding files
texlive-arphic.noarch : Arphic (Chinese) font packages
texlive-arphic-fedora-fonts.noarch : Fonts for arphic
texlive-dvipdfmx.noarch : An extended version of dvipdfm
texlive-garuda-c90.noarch : TeX support (from CJK) for the garuda font in
: thailatex
texlive-norasi-c90.noarch : TeX support (from CJK) for the norasi font in
: thailatex
texlive-wadalab.noarch : Wadalab (Japanese) font packages
texlive-wadalab-fedora-fonts.noarch : Fonts for wadalab
[root@dywH ~]# yum info cjkuni-ukai-fonts
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Available Packages
Name : cjkuni-ukai-fonts
Arch : noarch
Version : 0.2.20080216.1
Release : 34.el6
Size : 9.4 M
Repo : dywang <==在安裝來源dywang中尚未安裝,若安裝會顯示installed
Summary : Chinese Unicode TrueType font in Kai face
URL : http://www.freedesktop.org/wiki/Software/CJKUnifonts
License : Arphic
Description:
: CJK Unifonts are Unicode TrueType fonts derived from original fonts
: made available by Arphic Technology under "Arphic Public License"
: and extended by the CJK Unifonts project.
:
: CJK Unifonts in Kai face.
[root@dywH ~]# yum list evince* Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile Installed Packages evince.x86_64 2.30.3-3.fc13 @anaconda-De-YuWang-201208252046.x86_64/6.0 evince-dvi.x86_64 2.30.3-3.fc13 @dywang evince-libs.x86_64 2.30.3-3.fc13 @anaconda-De-YuWang-201208252046.x86_64/6.0
[root@dywH ~]# yum list updates evince* Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile Error: No matching Packages to list
[root@dywH ~]# yum provides *bin/evince Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile dywang/filelists | 1.3 MB 00:00 ... evince-2.30.3-3.fc13.x86_64 : Document viewer Repo : dywang Matched from: Filename : /usr/bin/evince evince-2.30.3-3.fc13.x86_64 : Document viewer Repo : installed Matched from: Filename : /usr/bin/evince