Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yum-aliases(1) [centos man page]

yum-aliases(1)															    yum-aliases(1)

NAME
yum aliases plugin SYNOPSIS
yum [options] alias DESCRIPTION
This plugin changes other commands in yum, much like the alias command in bash. There are a couple of notable differences from shell style aliases though. The alias command has three forms: * alias * alias command * alias command result The first form lists all current aliases with their final result, the second form looks up a "command" and shows it's final result or an error message. The last form creates a new alias. Explanation of alias to final result conversion When you type an aliased command, like "yum --disableexcludes UPT lsu" using the default aliases, the yum-aliases plugin first takes the first "command", by skipping over any options, and then looks up the result (in this case "UPT" is converted to "--enablerepo=updates-test- ing"). If there is a match, then it will replace the aliased "command" in the argument list and try again (again skipping over any options). By convention, in the default aliases list, alias "commands" that are in all CAPS only add options so you can join together a chain of them before any real command or aliased command. There are two things that can alter the above, if you have the "recursive" configuration option set to off then alias processing will stop after the first alias to command substitution. Also, like in shell aliases, if the result starts with then alias processing will stop. EXAMPLES
To create a new alias command called "rm" which does the same thing as the command "remove" use: yum alias rm remove To always add the --skip-broken --disableexcludes=all --obsoletes options to the update command (but leaving the upgrade option alone), you could use: yum alias update update --skip-broken --disableexcludes=all --obsoletes To override the default "up" alias to use the above update command, and never ask for confirmation, you could use: yum alias up update -y AUTHORS
James Antill <james@and.org> SEE ALSO
yum-utils(1) yum(1) James Antill 31 March 2008 yum-aliases(1)

Check Out this Related Man Page

yum-list-data(1)														  yum-list-data(1)

NAME
yum list data plugin SYNOPSIS
yum [options] [command] [package ...] DESCRIPTION
This plugin extends yum for some commands that give aggregate package data based on lists of packages added yum commands are: * list-vendors * info-vendors * list-rpm-groups * info-rpm-groups * list-packagers * info-packagers * list-licenses * info-licenses * list-arches * info-arches * list-committers * info-committers * list-buildhosts * info-buildhosts * list-baseurls * info-baseurls * list-package-sizes * info-package-sizes * list-archive-sizes * info-archive-sizes * list-installed-sizes * info-installed-sizes * list-groups * info-groups all of which take the same arguments as the list and info yum commands. The difference between the list and info varieties is that the info versions lists all the packages under each aggregation. list-vendors, info-vendors Is used to list the aggregate of the vendor attribute on the packages, examples are "Fedora Project" and "Red Hat, Inc.". list-rpm-groups, info-rpm-groups Is used to list the aggregate of the group attribute on the packages, examples are "Applications/System", "Development/Tools" and "System Environment/Base" list-packagers, info-packagers Is used to list the aggregate of the packager attribute on the packages, examples are "Fedora Project" and "Red Hat, Inc.". list-licenses, info-licenses Is used to list the aggregate of the license attribute on the packages, examples are "GPL" and "MIT" list-arches, info-arches Is used to list the aggregate of the arch attribute on the packages, examples are "i386" and "x86_64" list-committers, info-committers Is used to list the aggregate of the committer attribute on the packages, this is taken from the most recent changelog entry of the package. list-buildhosts, info-buildhosts Is used to list the aggregate of the buildhost attribute on the packages, examples are "mybuilder.example.com" and "xen- builder1.fedora.redhat.com" list-baseurls, info-baseurls Is used to list the aggregate of the url attribute on the packages after discarding the path of the URL, examples are "http://yum.baseurl.org/" and "http://www.and.org/" list-package-sizes, info-package-sizes Is used to list the aggregate of specified ranges the packagesize attribute on the packages, examples are "[ 1B - 10KB ]" and "[ 750KB - 1MB ]". list-archive-sizes, info-archive-sizes Is used to list the aggregate of specified ranges the archivesize attribute on the packages, examples are "[ 1B - 10KB ]" and "[ 750KB - 1MB ]". list-installed-sizes, info-installed-sizes Is used to list the aggregate of specified ranges the installedsize attribute on the packages, examples are "[ 1B - 10KB ]" and "[ 750KB - 1MB ]". list-groups, info-groups Is used to list the aggregate of the yum groups that the packages are in, examples are in "yum grouplist". Note that in yum groups a package can be in more than one group at a time. It is worth noting that some of the above data can be "unknown", to yum, at which point a separate aggregation called "-- Unknown --" is listed. EXAMPLES
To list all the groups that have an update, along with the number of packages in each group, use: yum list-rpm-groups updates To list all the committers to packages that have yum in their name, use: yum list-committers 'yum*' To list ranges of the sizes of packages installed or available, use: yum list-package-sizes To list yum groups that have an update, use: yum list-groups SEE ALSO
yum-filter-data (1) yum (8) yum.conf (5) AUTHORS
James Antill <james.antill@redhat.com>. James Antill 04 February 2008 yum-list-data(1)
Man Page