Changes from Version 1 of YumCommands

Show
Ignore:
Author:
skvidal (IP: 24.211.246.61)
Timestamp:
11/04/08 17:30:30 (9 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • YumCommands

    v0 v1  
     1= Basic Yum Commands and how to use them = 
     2 
     31. {{{ yum list [available|installed|extras|updates|obsoletes|all|recent] [pkgspec] }}} 
     4 
     5   This command lets you list packages in any repository enabled on your  
     6   system or installed. It also lets you list specific types of packages as 
     7   well as refine your list with a package specification of any of the package's 
     8   name, arch, version, release, epoch. 
     9 
     10    
     11   {{{ yum list }}} 
     12 
     13   By default 'yum list' without any options will list all packages in all the 
     14   repositories and all the packages installed on your system. 
     15   Note: 'yum list all' and 'yum list' give the same output. 
     16 
     17   {{{ yum list available }}} 
     18   Lists all the packages available to be installed in any enabled repository 
     19   on your system.  
     20 
     21   {{{ yum list installed }}} 
     22   This is equivalent to rpm -qa. It lists all the packages installed on  
     23   the system. 
     24 
     25   {{{ yum list extras }}} 
     26   This command lists any installed package which no longer appears in any 
     27   of your enabled repositories. Useful for finding packages which linger 
     28   between upgrades or things installed not from a repo. 
     29 
     30   {{{ yum list obsoletes }}} 
     31   This command lists any obsoleting relationships between any available package 
     32   and any installed package. 
     33 
     34   {{{ yum list updates }}} 
     35   This command lists any package in an enabled repository which is an update 
     36   for any installed package. 
     37 
     38   {{{ yum list recent }}} 
     39   This command lists any package added to any enabled repository in the last 
     40   seven(7) days. 
     41 
     42   {{{ yum list pkgspec }}} 
     43   This command allows you to refine your listing for particular packages. 
     44    
     45   Examples of pkgspecs: 
     46   {{{ yum list zsh }}} 
     47   {{{ yum list joe\* }}} 
     48   {{{ yum list \*.i386 }}} 
     49   {{{ yum list dovecot-1.0.15 }}} 
     50 
     511. {{{ yum install/remove/update }}} 
     52 
     531. {{{ yum check-update }}} 
     54   Exactly like '''yum list updates''' but returns an exit code of '''100''' if there are updates available. Handy 
     55   for shell scripting. 
     56 
     571. {{{ yum grouplist }}} 
     58 
     591. {{{ yum groupinfo }}} 
     60 
     611. {{{ yum info }}} 
     62   {{{ yum list/info pkgname/pkgglob }}} 
     63 
     641. {{{ yum search }}} 
     65 
     661. {{{ yum shell }}} 
     67     
     681. {{{ yum makecache }}} 
     69 
     701. {{{  yum clean }}} 
     71 
     721. {{{ yum groupinstall/remove/etc }}}