Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<  89 of 894 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 11223
Last update: 05-16-08
Issue:
What are the yum equivalents of former up2date common tasks?
Resolution:

Task up2date yum
Check for and update all RPM(S)
  up2date -u yum update
Check for and update specified RPM(s)
  up2date -u <package> [<package>...] yum update <package> [<package>...]
Install the specified RPM(s)
  up2date -i <package> [<package>...] yum install <package> [<package>...]
Remove the specified RPM(s) and it's dependents
  rpm -e <package> [<package>...] yum remove <package> [<package>...]
Search for packages by name
  up2date --showall | grep "<search string>" yum list "<regex>" ["<regex>"...]
List all packages which could be updated
  up2date -l yum list updates ["<regex>"...]
List all available packages
  up2date --show-available yum list available ["<regex>"...]
List all installed packages
  rpm -qa yum list installed ["<regex>"...]
List all installed and available packages
  up2date --showall yum list all ["<regex>"...]
Update packages in a group
  up2date -u "@<group name>" yum groupupdate "<group name>" ["<group name>"]
Install all the default packages by group
  up2date "@<group name>" yum groupinstall "<group name>" ["<group name>"]
Remove all packages in a group
  not possible yum groupremove "<group name>" ["<group name>"]
List available package groups
  up2date --show-groups yum grouplist
Install local packages solving and satisfying dependencies as needed
  up2date -k <dir>[:<dir>...] yum localinstall <path/filename> [<path/filename>]
Install package of specified architecture
  up2date --arch=<arch> <package> [<package>...] yum install <package>.<arch> [<package>.<arch>...]
Show all packages not available via subscribed channels or repositories
  up2date --show-orphans yum list extras
List all channels the system is currently subscribed to
  up2date --show-channels echo "repo list" | yum shell
List packages that satisfy dependency(ies)
  up2date --whatprovides=<dependency>[,<dependency>...] yum whatprovides <dependency> [<dependency>...]
Register a system to RHN hosted/satellite
  up2date --register rhn_register


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<   89  of  894  >>