The translation is temporarily closed for contributions due to maintenance, please come back later.
English French
You must have superuser privileges in order to use the [command]#dnf# command to install, update or remove packages on your system. All examples in this chapter assume that you have already obtained superuser privileges by using either the [command]#su# or [command]#sudo# command.
You can use glob expressions to quickly install multiple similarly-named packages:
You can remove a package group using syntax congruent with the [command]#install# syntax:
You can install a package group by passing its full group name (without the groupid part) to [command]#group install#:
You can even pass the groupid, or quoted name, to the [command]#install# command if you prepend it with an @-symbol (which tells [command]#dnf# that you want to perform a [command]#group install#):
You can also list only transactions regarding a particular package or packages. To do so, use the command with a package name or a glob expression:
You can also install multiple packages simultaneously by appending their names as arguments:
You can also install by groupid:
You can add many additional options under the `[main]` section heading in `/etc/dnf/dnf.conf`.
`x86_64` — the CPU architecture the package was built for,
Working with Transaction History
…where _value_ is one of:
…where _value_ is an integer representing the maximum number of versions that can be installed simultaneously for any single package listed in the [option]`installonlypkgs` directive.
…where _value_ is an integer between `0` and `10`. Setting a higher [option]`debuglevel` value causes [command]#dnf# to display more detailed debugging output. [option]`debuglevel=0` disables debugging output, and [option]`debuglevel=2` is the default.
…where _repository_url_ is a URL to a directory containing a `repodata` directory of a repository, a metalink file, or a mirror list file.
…where _repository_name_ is a human-readable string describing the repository.
…where _parameter_ is one of the following: [option]`baseurl`, [option]`metalink`, or [option]`mirrorlist`pass:attributes[{blank}];
When using [application]*RPM*, on the other hand, it is important to use the [command]#rpm -i kernel# command (which installs a new kernel) instead of [command]#rpm -u kernel# (which *replaces* the current kernel). See xref:RPM.adoc#sec-Installing_and_Upgrading[Installing and Upgrading Packages] for more information on installing and updating kernels with [application]*RPM*.
Viewing the Current Configuration
Usually this URL is an HTTP link, such as: