FreeKB - yum search (display information about a package)
Linux Commands - yum search (display information about a package)

The yum search command will display information about a package, regardless if the package is or is not installed on the system. In this example, information about the httpd package is displayed.

yum search httpd
. . .
Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Determing fastest mirrors * base: mirror.es.its.nyu.edu * 
extras: mirrors.gigenet.com * 
updates: mirror.nexcess.net
====================================== N/S matches: httpd =================
libmicrohttpd-devel.i686 : Development files for libmicrohttpd
libmicrohttpd-devel.x86_64 : Development files for libmicrohttpd
libmicrohttpd-doc.noarch : Documentation for libmicrohttpd
httpd.x86_64 : Apache HTTP Server
httpd-devel.x86_64 : Development interfaces for the Apache HTTP server

 

Following are commonly used yum commands.

Alternatively, the Ansible yum module can be used to automate the process of managing packages.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter f17e4 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |