[Yum-devel] [PATCH] rework introduction to yum.8
A.Ford at ford-mason.co.uk
Thu Jul 28 20:52:35 UTC 2011
From: Andrew Ford <a.ford at ford-mason.co.uk>
docs/yum.8 | 89 ++++++++++++++++++++++++++++++++++++++---------------------
1 files changed, 57 insertions(+), 32 deletions(-)
diff --git a/docs/yum.8 b/docs/yum.8
index ea18f34..f87a03c 100644
@@ -6,16 +6,67 @@ yum \- Yellowdog Updater Modified
\fByum\fP [options] [command] [package ...]
-\fByum\fP is an interactive, rpm based, package manager. It can automatically
+\fByum\fP is an extensible, high level, RPM-based, command line package
+manager. It is similar to other high level package managers, such as apt-get
+and smart\&. There are some GUI applications that interface directly to the
+\fByum\fP code, but more recent graphical interface development is happening
+with PackageKit and the gnome-packagekit application\&.
+\fByum\fP can automatically
perform system updates, including dependency analysis and obsolete processing
based on "repository" metadata. It can also perform installation of new
packages, removal of old packages and perform queries on the installed and/or
-available packages among many other commands/services (see below)\&. \fByum\fP
-is similar to other high level package managers like apt\-get and smart\&.
+available packages among many other commands/services (see below)\&.
+\fByum\fP itself provides a number of core commands that are organized into three groups:
+.IP "\(bu" 4
+.IP "\(bu" 4
+Package installation, upgrade, and removal commands
+.IP "\(bu" 4
+Housekeeping and miscellaneous commands
+Plugins may provide additional commands or options. See the documentation for
+the individual plugins for details.
+.SS "Specifying Package Names"
+A package can be specified to the install, update, remove, list, and info
+subcommands with any of the following combinations of name, version, release,
+architecture and epoch, as well as globs of any of those package label components:
+\fB at groupname\fP
+If the name starts with an @ character the rest of the name is taken to be a
+group name and is passed through to the relevant \fBgroups\fP subcommand.
-While there are some graphical interfaces directly to the \fByum\fP code, more
-recent graphical interface development is happening with PackageKit and the
+.IP "\fByum remove kernel-2.4.1-10.i686\fP"
+this will remove this specific kernel-ver-rel.arch.
+.IP "\fByum list available 'foo*'\fP"
+this will list all available packages that match 'foo*'. (The single quotes
+will keep your shell from expanding the globs.)
+.IP "\fByum install '@Development Libraries'\fP"
+this will install all packages in the 'Development Libraries' group.
+.SH CORE YUM COMMANDS
+Unless the \-\-help or \-h option is given, one of the following commands or a
+command provided by a plugin must be specified\&.
\fIcommand\fP is one of:
@@ -558,32 +609,6 @@ security yum plugin.
-.SH "SPECIFYING PACKAGE NAMES"
-A package can be referred to for install, update, remove, list, info etc
-with any of the following as well as globs of any of the following:
-For example: \fByum remove kernel-2.4.1-10.i686\fP
- this will remove this specific kernel-ver-rel.arch.
-Or: \fByum list available 'foo*'\fP
- will list all available packages that match 'foo*'. (The single quotes will keep your shell from expanding the globs.)
.SH "CLEAN OPTIONS"
The following are the ways which you can invoke \fByum\fP in clean
mode. Note that "all files" in the commands below means
More information about the Yum-devel