Main Menu

Search

LINUX - YUM COMMAND TO SEARCH AND LIST PARTICULAR RPM PACKAGE

Following is yum command to use to search and list particular rpm package version.
 
yum -C --disablerepo=* --disableplugin=* list <packagename>* 

Following is example snippet of above command.
 
        [root@TEST]# yum -C --disablerepo=* --disableplugin=* list nss* 
        Installed Packages 
        nss.x86_64                                                      3.21.3-2.0.1.el6_8                                  @eecs_2062170117_updates 
        nss-devel.x86_64                                                3.21.3-2.0.1.el6_8                                  @eecs_2062170117_updates 
        nss-softokn.x86_64                                              3.14.3-23.3.el6_8                                   @eecs_2062170117_updates 
        nss-softokn-devel.x86_64                                        3.14.3-23.3.el6_8                                   @eecs_2062170117_updates 
        nss-softokn-freebl.i686                                         3.14.3-23.3.el6_8        
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  rpm package list search version

Article Author: Tarun Boyella

No comments:

Post a Comment