Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
8.2. Packages and Package Groups
8.2.1. Searching Packages
You can search all RPM package names, descriptions and summaries by using the following command:
Replace term with a package name you want to search.
Example 8.2. Searching for packages matching a specific string
To list all packages that match “vim”, “gvim”, or “emacs”, type:
yum search vim gvim emacsLoaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager ============================= N/S matched: vim ============================== vim-X11.x86_64 : The VIM version of the vi editor for the X Window System vim-common.x86_64 : The common files needed by any version of the VIM editor [output truncated] ============================ N/S matched: emacs ============================= emacs.x86_64 : GNU Emacs text editor emacs-auctex.noarch : Enhanced TeX modes for Emacs [output truncated] Name and summary matches mostly, use "search all" for everything. Warning: No matches found for: gvim
yum searchcommand is useful for searching for packages you do not know the name of, but for which you know a related term. Note that by default,
yum searchreturns matches in package name and summary, which makes the search faster. Use the
yum search allcommand for a more exhaustive but slower search.