C++ CSS HTML Java JavaScript MySQL Oracle PERL PHP SQL Unix VBScript XHTML XML Сети
Package Selection
 

7.5. Package Selection

Use the %packages

Packages can be specified by group or by individual package name. The installation program defines several groups that contain related packages. See the RedHat/base/comps.xml are always installed if the group is selected, the packages marked default are selected by default if the group is selected, and the packages marked optional must be specifically selected even if the group is selected to be installed.

In most cases, it is only necessary to list the desired groups and not individual packages. Note that the Core and Base groups are always selected by default, so it is not necessary to specify them in the %packages section.

Here is an example %packages selection:

%packages
@ X Window System
@ GNOME Desktop Environment
@ Graphical Internet
@ Sound and Video
galeon

As you can see, groups are specified, one to a line, starting with an @ symbol, a space, and then the full group name as given in the comps.xml file. Specify individual packages with no additional characters (the galeon line in the example above is an individual package).

You can also specify which packages not to install from the default package list:

@ Games and Entertainment
-kdegames

Two options are available for the %packages option.

--resolvedeps

prompt the user. For example:

%packages --resolvedeps
--ignoredeps

Ignore the unresolved dependencies and install the listed packages without the dependencies. For example:

%packages --ignoredeps
--ignoremissing[1]

Ignore the missing packages and groups instead of halting the installation to ask if the installation should be aborted or continued. For example:

%packages --ignoremissing

Notes

[1]

This option is new to Red Hat Linux 9.

Главная