3장. Searching for RHEL content
In the following sections, learn how to locate and examine content in the AppStream and BaseOS repositories by using the DNF software management tool.
3.1. Searching for software packages 링크 복사링크가 클립보드에 복사되었습니다!
To identify which package provides the software you require, you can use DNF to search the repositories.
Procedure
Depending on your scenario, use one of the following options to search the repository:
To search for a term in the name or summary of packages, enter:
$ dnf search <term>To search for a term in the name, summary, or description of packages, enter:
$ dnf search --all <term>Note that searching additionally in the description by using the
--alloption is slower than a normal search operation.To search for a package name and list the package name and its version in the output, enter:
$ dnf repoquery <package_name>To search for which package provides a file, specify the file name or the path to the file:
$ dnf provides <file_name>