Common package selection options
You can use the following options in the %packages sections. To use an option, append it to the start of the package selection section. For example:
%packages --multilib --ignoremissing
-
--default - Install the default set of packages. This corresponds to the package set which would be installed if no other selections were made in the Package Selection screen during an interactive installation.
-
--excludedocs - Do not install any documentation contained within packages. In most cases, this excludes any files normally installed in the
/usr/share/docdirectory, but the specific files to be excluded depend on individual packages. -
--ignoremissing - Ignore any packages, groups, module streams, module profiles, and environments missing in the installation source, instead of halting the installation to ask if the installation should be stopped or continued.
-
--inst-langs - Specify a list of languages to install. This is different from package group level selections. This option does not describe which package groups should be installed; instead, it sets RPM macros controlling which translation files from individual packages should be installed.
-
--multilib -
Configure the installed system for multilib packages, to allow installing 32-bit packages on a 64-bit system, and install packages specified in this section as such.
Normally, on an AMD64 and Intel 64 system, you can install only the x86_64 and the noarch packages. However, with the --multilib option, you can automatically install the 32-bit AMD and the i686 Intel system packages available, if any.
This only applies to packages explicitly specified in the
%packagessection. Packages installed only as dependencies and not specified in the Kickstart file are installed only for the required architecture versions. This applies even if the packages are available for multiple architectures.You can configure Anaconda to install packages in
multilibmode during the installation of the system. Use one of the following options to enablemultilibmode:- Configure Kickstart file with the following lines:
%packages --multilib --default %end - Add the inst.multilib boot option during booting the installation image.
- Configure Kickstart file with the following lines:
-
--nocore -
Disables installation of the
@Corepackage group which is otherwise always installed by default. Disabling the@Corepackage group with--nocoreshould only be used for creating lightweight containers; installing a desktop or server system with--nocoreresults in an unusable system.Note Using
-@Coreto exclude packages in the@Corepackage group does not work. The only way to exclude the@Corepackage group is with the--nocoreoption. Also, the@Corepackage group is defined as a minimal set of packages needed for installing a working system. It is not related in any way to core packages as defined in the Package Manifest and Scope of Coverage Details. -
--exclude-weakdeps - Disables installation of packages from weak dependencies. These are packages linked to the selected package set by Recommends and Supplements flags. By default, weak dependencies are installed.
-
--retries= - Sets the number of times
dnfwill attempt to download packages (retries). The default value is 10. This option only applies during the installation, and will not affectdnfconfiguration on the installed system. -
--timeout= - Sets the
dnftimeout in seconds. The default value is 30. This option only applies during the installation, and will not affectdnfconfiguration on the installed system.