United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
This article assumes that the Red Hat Enterprise Linux system is registered and can access Red Hat Network (RHN). It must also have a working connection to the Internet.
Wildcards can be used to search the list of packages available using up2date but only from Red Hat Enterprise Linux 3 and current versions.
For example, when searching for Red Hat Enterprise Linux Documentation packages for the Spanish language, knowing that the documentation packages typically begin with 'rhel-' and that the language code for Spanish is 'es' , a wildcard search may be done like so:
up2date -i --dry-run rhel-\*-es\*
The option up2date --dry-run will prevent the command from doing anything and simply display what would be done. The characters '\*' are the wildcards. The backslash '\' character is to prevent the character from being interpreted by the shell.
As a second example, assuming one needs to find all the packages that have the string 'mod' in the name:
up2date -i --dry-run \*mod\*