Re: is there a yum command to list available yum plugins?

James Antill <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Ville Skyttä <[email protected]> writes:

>> > On Wed, Oct 06, 2010 at 08:25:04AM -0400, Robert P. J. Day wrote:
>> > >   is there a single yum invocation that will display all yum plugins
>> > > 
>> > > available to be installed?
>
> yum provides "/usr/lib/yum-plugins/*"
>
> repoquery -f "/usr/lib/yum-plugins/*"

 That does work (and is something I'd not have thought about :),
however that uses a technical definition of plugin that includes
things like "etckeeper", which may or may not be desired, and requires
a bit of knowledge to use (need to know where plugiuns go).

 So I thought I'd mention that one feature that will be in 3.2.29¹ (and
is in the current rawhide² rebuilds for Fedora/etc.) is "only useful
output, search" which should be easier to remember. Eg.

% yum search yum plugin
Loaded plugins: aliases, keys, noop, presto, ps, security, tmprepo, verify
=========================== N/S Matched: yum, plugin ===========================
PackageKit-yum-plugin.x86_64 : Tell PackageKit to check for updates when yum
                             : exits
anaconda-yum-plugins.noarch : Installation-related yum plugins
yum-dellsysid.x86_64 : YUM plugin to retrieve the Dell System ID
yum-langpacks.noarch : Langpacks plugin for yum
yum-plugin-aliases.noarch : Yum plugin to enable aliases filters
[...]
yum-presto.noarch : Presto plugin for yum
yum-rhn-plugin.noarch : RHN support for yum

  Full name and summary matches only, use "search all" for everything.

...full output elided, but it's only 53 lines (as against "yum search
all yum plugin" at 1,623 lines ... which is the 3.2.28 behaviour).


¹ http://yum.baseurl.org/wiki/whatsnew/3.2.29

² http://repos.fedorapeople.org/repos/james/yum-rawhide/

-- 
James Antill -- [email protected]
http://yum.baseurl.org/wiki/releases
http://yum.baseurl.org/wiki/whatsnew/3.2.29
http://yum.baseurl.org/wiki/YumMultipleMachineCaching
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.