[root@kvm8 ~]# dnf [options] [command] [package ...] [option]:主要的搜尋選項有: [查詢工作項目] [相關參數]:這方面的參數有: search :搜尋某個套件名稱或是描述 (description) 的重要關鍵字; list :列出目前 yum 所管理的所有的套件名稱與版本,有點類似 rpm -qa; info :列出套件的相關訊息,類似 rpm -qai 的執行結果; provides or whatprovides:搜尋包含某檔案的套件,類似 rpm -qf 的功能。
[root@kvm8 ~]# dnf search cjk
Last metadata expiration check: 0:16:27 ago on Tue 04 Oct 2022 11:13:08 AM CST.
========================== Name & Summary Matched: cjk ==========================
google-noto-cjk-fonts-common.noarch : Common files for Noto CJK fonts
google-noto-sans-cjk-ttc-fonts.noarch : Sans OTC font files for
: google-noto-cjk-fonts
google-noto-serif-cjk-ttc-fonts.noarch : Serif OTC font files for
: google-noto-cjk-fonts
texlive-cjk.noarch : CJK language support
texlive-xecjk.noarch : Support for CJK documents in XeLaTeX
============================= Summary Matched: cjk ==============================
bitmap-fangsongti-fonts.noarch : Selected CJK bitmap fonts for Anaconda
texlive-garuda-c90.noarch : TeX support (from CJK) for the garuda font
texlive-norasi-c90.noarch : TeX support (from CJK) for the norasi font in
: thailatex
[root@kvm8 ~]# dnf info google-noto-cjk-fonts-common.noarch
Last metadata expiration check: 0:18:58 ago on Tue 04 Oct 2022 11:13:08 AM CST.
Installed Packages
Name : google-noto-cjk-fonts-common
Version : 20201206
Release : 4.el9
Architecture : noarch
Size : 32 k
Source : google-noto-cjk-fonts-20201206-4.el9.src.rpm
Repository : @System
From repo : AppStream
Summary : Common files for Noto CJK fonts
URL : https://github.com/googlei18n/noto-cjk
License : OFL
Description :
: Noto CJK fonts, supporting Simplified Chinese, Traditional
: Chinese, Japanese, and Korean. The supported scripts are Han,
: Hiragana, Katakana, Hangul, and Bopomofo. Latin, Greek, Cyrllic,
: and various symbols are also supported for compatibility with CJK
: standards.
:
:
: Common files for Google Noto CJK fonts.
[root@cs ~]# dnf list evince* Last metadata expiration check: 21:06:59 ago on Mon 03 Oct 2022 02:25:56 PM CST. Installed Packages evince.x86_64 40.4-4.el9 @AppStream evince-libs.x86_64 40.4-4.el9 @AppStream evince-nautilus.x86_64 40.4-4.el9 @AppStream evince-previewer.x86_64 40.4-4.el9 @AppStream evince-thumbnailer.x86_64 40.4-4.el9 @AppStream Available Packages evince-libs.i686 40.4-4.el9 AppStream
[root@kvm8 ~]# dnf provides *bin/evince Last metadata expiration check: 0:21:21 ago on Tue 04 Oct 2022 11:13:08 AM CST. evince-40.4-4.el9.x86_64 : Document viewer Repo : AppStream Matched from: Other : *bin/evince