Blame doc/cli_vs_yum.rst

Packit 6f3914
..
Packit 6f3914
  Copyright (C) 2014-2018 Red Hat, Inc.
Packit 6f3914
Packit 6f3914
  This copyrighted material is made available to anyone wishing to use,
Packit 6f3914
  modify, copy, or redistribute it subject to the terms and conditions of
Packit 6f3914
  the GNU General Public License v.2, or (at your option) any later version.
Packit 6f3914
  This program is distributed in the hope that it will be useful, but WITHOUT
Packit 6f3914
  ANY WARRANTY expressed or implied, including the implied warranties of
Packit 6f3914
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
Packit 6f3914
  Public License for more details.  You should have received a copy of the
Packit 6f3914
  GNU General Public License along with this program; if not, write to the
Packit 6f3914
  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Packit 6f3914
  02110-1301, USA.  Any Red Hat trademarks that are incorporated in the
Packit 6f3914
  source code or documentation are not subject to the GNU General Public
Packit 6f3914
  License and may only be used or replicated with the express permission of
Packit 6f3914
  Red Hat, Inc.
Packit 6f3914
Packit 6f3914
####################################
Packit 6f3914
 Changes in DNF CLI compared to YUM
Packit 6f3914
####################################
Packit 6f3914
Packit 6f3914
.. only :: html
Packit 6f3914
Packit 6f3914
    .. contents::
Packit 6f3914
Packit 6f3914
======================
Packit 6f3914
 ``--skip-broken``
Packit 6f3914
======================
Packit 6f3914
Packit 6f3914
For install command:
Packit 6f3914
Packit 6f3914
The ``--skip-broken`` option is an alias for ``--setopt=strict=0``. Both options could be used
Packit 6f3914
with DNF to skip all unavailable packages or packages with broken dependencies given to DNF
Packit 6f3914
without raising an error causing the whole operation to fail. This behavior can be set as default
Packit 6f3914
in dnf.conf file. See :ref:`strict conf option <strict-label>`.
Packit 6f3914
Packit 6f3914
For upgrade command:
Packit 6f3914
Packit 6f3914
The semantics that were supposed to trigger in YUM with ``--skip-broken`` are now set for plain
Packit 6f3914
``dnf update`` as a default. There is no need to use ``--skip-broken`` with the ``dnf upgrade``
Packit 6f3914
command. To use only the latest versions of packages in transactions, there is the ``--best``
Packit 6f3914
command line switch.
Packit 6f3914
Packit 6f3914
========================================
Packit 6f3914
Update and Upgrade Commands are the Same
Packit 6f3914
========================================
Packit 6f3914
Packit 6f3914
Invoking ``dnf update`` or ``dnf upgrade``, in all their forms, has the same
Packit 6f3914
effect in DNF, with the latter being preferred. In YUM ``yum upgrade`` was
Packit 6f3914
exactly like ``yum --obsoletes update``.
Packit 6f3914
Packit 6f3914
================================================
Packit 6f3914
 ``clean_requirements_on_remove`` on by default
Packit 6f3914
================================================
Packit 6f3914
Packit 6f3914
The :ref:`clean_requirements_on_remove <clean_requirements_on_remove-label>`
Packit 6f3914
switch is on by default in DNF. It can thus be confusing to compare the "remove"
Packit 6f3914
operation results between DNF and YUM as by default DNF is often going to remove
Packit 6f3914
more packages.
Packit 6f3914
Packit 6f3914
===========================
Packit 6f3914
 No ``resolvedep`` command
Packit 6f3914
===========================
Packit 6f3914
Packit 6f3914
The YUM version of this command is maintained for legacy reasons only. The user
Packit 6f3914
can just use ``dnf provides`` to find out what package provides a particular file.
Packit 6f3914
Packit 6f3914
===========================
Packit 6f3914
 No ``deplist`` command
Packit 6f3914
===========================
Packit 6f3914
Packit 6f3914
An alternative to the YUM ``deplist`` command to find out dependencies of a package
Packit 6f3914
is ``dnf repoquery --deplist`` using :ref:`repoquery command
Packit 6f3914
<repoquery_command-label>`.
Packit 6f3914
Packit 6f3914
.. note::  Alternatively there is a YUM compatibility support where
Packit 6f3914
           ``yum deplist`` is alias for ``dnf repoquery --deplist`` command
Packit 6f3914
Packit 6f3914
====================================================
Packit 6f3914
 Excludes and repo excludes apply to all operations
Packit 6f3914
====================================================
Packit 6f3914
Packit 6f3914
YUM only respects excludes during installs and upgrades. DNF extends this to all
Packit 6f3914
operations, among others erasing and listing. If you e.g. want to see a list of
Packit 6f3914
all installed ``python-f*`` packages but not any of the Flask packages, the
Packit 6f3914
following will work::
Packit 6f3914
Packit 6f3914
    dnf -x '*flask*' list installed 'python-f*'
Packit 6f3914
Packit 6f3914
==========================================================
Packit 6f3914
 YUM's conf directive ``includepkgs`` is just ``include``
Packit 6f3914
==========================================================
Packit 6f3914
Packit 6f3914
``include`` directive name of [main] and Repo configuration is a more logical and better named counterpart of ``exclude`` in DNF.
Packit 6f3914
Packit 6f3914
====================================================
Packit 6f3914
``dnf provides /bin/<file>`` is not fully supported
Packit 6f3914
====================================================
Packit 6f3914
Packit 6f3914
After `UsrMove <https://fedoraproject.org/wiki/Features/UsrMove>`_ there's no
Packit 6f3914
directory ``/bin`` on Fedora systems and no files get installed there,
Packit 6f3914
``/bin`` is only a symlink created by the ``filesystem`` package to point to
Packit 6f3914
``/usr/bin``. Resolving the symlinks to their real path would only give the
Packit 6f3914
user a false sense that this works, while in fact provides requests using globs
Packit 6f3914
such as::
Packit 6f3914
Packit 6f3914
    dnf provides /b*/<file>
Packit 6f3914
Packit 6f3914
will fail still (as they do in YUM now). To find what provides a particular
Packit 6f3914
binary, use the actual path for binaries on Fedora::
Packit 6f3914
Packit 6f3914
    dnf provides /usr/bin/<file>
Packit 6f3914
Packit 6f3914
Also see related Fedora bugzillas `982947
Packit 6f3914
<https://bugzilla.redhat.com/show_bug.cgi?id=982947>`_ and `982664
Packit 6f3914
<https://bugzilla.redhat.com/show_bug.cgi?id=982664>`_.
Packit 6f3914
Packit 6f3914
.. _skip_if_unavailable_default:
Packit 6f3914
Packit 6f3914
====================================================
Packit 6f3914
 ``skip_if_unavailable`` could be enabled by default
Packit 6f3914
====================================================
Packit 6f3914
Packit 6f3914
In some distributions DNF is shipped with ``skip_if_unavailable=True`` in
Packit 6f3914
the :ref:`DNF configuration file <conf_ref-label>`. The reason for the change
Packit 6f3914
is that third-party repositories can often be unavailable. Without this setting
Packit 6f3914
in the relevant repository configuration file YUM immediately stops on a
Packit 6f3914
repository synchronization error, confusing and bothering the user.
Packit 6f3914
Packit 6f3914
See the related `Fedora bug 984483 <https://bugzilla.redhat.com/show_bug.cgi?id=984483>`_.
Packit 6f3914
Packit 6f3914
============================================================================
Packit 6f3914
 ``overwrite_groups`` dropped, comps functions acting as if always disabled
Packit 6f3914
============================================================================
Packit 6f3914
Packit 6f3914
This config option has been dropped. When DNF sees several groups with the same
Packit 6f3914
group ID it merges the groups' contents together.
Packit 6f3914
Packit 6f3914
===============================
Packit 6f3914
 ``mirrorlist_expire`` dropped
Packit 6f3914
===============================
Packit 6f3914
Packit 6f3914
To simplify things for the user, DNF uses ``metadata_expire`` for both expiring
Packit 6f3914
metadata and the mirrorlist file (which is a kind of metadata itself).
Packit 6f3914
Packit 6f3914
===========================================================
Packit 6f3914
 metalink not recognized in the ``mirrorlist`` repo option
Packit 6f3914
===========================================================
Packit 6f3914
Packit 6f3914
The following part of ``yum.conf(5)`` no longer applies for the ``mirrorlist``
Packit 6f3914
option:
Packit 6f3914
Packit 6f3914
    As a special hack if the mirrorlist URL contains the word "metalink" then
Packit 6f3914
    the value of mirrorlist is copied to metalink (if metalink is not set).
Packit 6f3914
Packit 6f3914
The relevant repository configuration files have been fixed to respect this, see
Packit 6f3914
the related `Fedora bug 948788
Packit 6f3914
<https://bugzilla.redhat.com/show_bug.cgi?id=948788>`_.
Packit 6f3914
Packit 6f3914
=================================
Packit 6f3914
 ``alwaysprompt`` dropped
Packit 6f3914
=================================
Packit 6f3914
Packit 6f3914
Unsupported to simplify the configuration.
Packit 6f3914
Packit 6f3914
.. _upgrade_requirements_on_install_dropped:
Packit 6f3914
Packit 6f3914
=============================================
Packit 6f3914
 ``upgrade_requirements_on_install`` dropped
Packit 6f3914
=============================================
Packit 6f3914
Packit 6f3914
Dropping this config option with blurry semantics simplifies the
Packit 6f3914
configuration. DNF behaves as if this was disabled. If the user wanted to
Packit 6f3914
upgrade everything to the latest version she'd simply use ``dnf upgrade``.
Packit 6f3914
Packit 6f3914
========================================
Packit 6f3914
 ``dnf history rollback`` check dropped
Packit 6f3914
========================================
Packit 6f3914
Packit 6f3914
Since DNF tolerates the use of other package managers, it is possible that not
Packit 6f3914
all changes to the RPMDB are stored in the history of transactions. Therefore, DNF
Packit 6f3914
does not fail if such a situation is encountered and thus the ``force`` option
Packit 6f3914
is not needed anymore.
Packit 6f3914
Packit 6f3914
.. _allowerasing_instead_of_swap:
Packit 6f3914
Packit 6f3914
============================================================
Packit 6f3914
 Packages replacement without ``yum swap``
Packit 6f3914
============================================================
Packit 6f3914
Packit 6f3914
Time after time one needs to remove an installed package and replace it with a different one, providing the same capabilities while other packages depending on these capabilities stay installed. Without (transiently) breaking consistency of the package database this can be done by performing the remove and the install in one transaction. The common way to set up such a transaction in DNF is to use ``dnf shell`` or use the ``--allowerasing`` switch.
Packit 6f3914
Packit 6f3914
E.g. say you want to replace ``A`` (providing ``P``)  with B (also providing ``P``, conflicting with ``A``) without deleting ``C`` (which requires ``P``) in the process. Use::
Packit 6f3914
Packit 6f3914
  dnf --allowerasing install B
Packit 6f3914
Packit 6f3914
This command is equal to ``yum swap A B``.
Packit 6f3914
Packit 6f3914
DNF provides swap command but only ``dnf swap A B`` syntax is supported
Packit 6f3914
Packit 6f3914
========================================================
Packit 6f3914
 Dependency processing details are not shown in the CLI
Packit 6f3914
========================================================
Packit 6f3914
Packit 6f3914
During its depsolving phase, YUM outputs lines similar to::
Packit 6f3914
Packit 6f3914
  ---> Package rubygem-rhc.noarch 0:1.16.9-1.fc19 will be an update
Packit 6f3914
  --> Processing Dependency: rubygem-net-ssh-multi >= 1.2.0 for package: rubygem-rhc-1.16.9-1.fc19.noarch
Packit 6f3914
Packit 6f3914
DNF does not output information like this. The technical reason is that depsolver below DNF always considers all dependencies for update candidates and the output would be very long. Secondly, even in YUM this output gets confusing very quickly especially for large transactions and so does more harm than good.
Packit 6f3914
Packit 6f3914
See the related `Fedora bug 1044999
Packit 6f3914
<https://bugzilla.redhat.com/show_bug.cgi?id=1044999>`_.
Packit 6f3914
Packit 6f3914
===================================================================
Packit 6f3914
``dnf provides`` complies with the YUM documentation of the command
Packit 6f3914
===================================================================
Packit 6f3914
Packit 6f3914
When one executes::
Packit 6f3914
Packit 6f3914
  yum provides sandbox
Packit 6f3914
Packit 6f3914
YUM applies extra heuristics to determine what the user meant by ``sandbox``, for instance it sequentially prepends entries from the ``PATH`` environment variable to it to see if it matches a file provided by some package. This is an undocumented behavior that DNF does not emulate. Just typically use::
Packit 6f3914
Packit 6f3914
  dnf provides /usr/bin/sandbox
Packit 6f3914
Packit 6f3914
or even::
Packit 6f3914
Packit 6f3914
  dnf provides '*/sandbox'
Packit 6f3914
Packit 6f3914
to obtain similar results.
Packit 6f3914
Packit 6f3914
==================
Packit 6f3914
Bandwidth limiting
Packit 6f3914
==================
Packit 6f3914
Packit 6f3914
DNF supports the ``throttle`` and ``bandwidth`` options familiar from YUM.
Packit 6f3914
Contrary to YUM, when multiple downloads run simultaneously the total
Packit 6f3914
downloading speed is throttled. This was not possible in YUM since
Packit 6f3914
downloaders ran in different processes.
Packit 6f3914
Packit 6f3914
===================================
Packit 6f3914
 ``installonlypkgs`` config option
Packit 6f3914
===================================
Packit 6f3914
Packit 6f3914
Compared to YUM, DNF appends list values from the ``installonlypkgs`` config option to DNF defaults, where YUM overwrites the defaults by option values.
Packit 6f3914
Packit 6f3914
==============================
Packit 6f3914
 The usage of Delta RPM files
Packit 6f3914
==============================
Packit 6f3914
Packit 6f3914
The boolean ``deltarpm`` option controls whether delta RPM files are used. Compared to YUM, DNF does not support ``deltarpm_percentage`` and instead chooses some optimal value of DRPM/RPM ratio to decide whether using deltarpm makes sense in the given case.
Packit 6f3914
Packit 6f3914
================================================
Packit 6f3914
 Handling .srpm files and non-existent packages
Packit 6f3914
================================================
Packit 6f3914
Packit 6f3914
DNF will terminate early with an error if a command is executed requesting an installing operation on a local ``.srpm`` file::
Packit 6f3914
Packit 6f3914
  $ dnf install fdn-0.4.17-1.fc20.src.rpm tour-4-6.noarch.rpm
Packit 6f3914
  Error: Will not install a source rpm package (fdn-0.4.17-1.fc20.src).
Packit 6f3914
Packit 6f3914
The same applies for package specifications that do not match any available package.
Packit 6f3914
Packit 6f3914
YUM will only issue a warning in this case and continue installing the "tour" package. The rationale behind the result in DNF is that a program should terminate with an error if it can not fulfill the CLI command in its entirety.
Packit 6f3914
Packit 6f3914
=============================================================
Packit 6f3914
 Promoting package to install to a package that obsoletes it
Packit 6f3914
=============================================================
Packit 6f3914
Packit 6f3914
DNF will not magically replace a request for installing package ``X`` to installing package ``Y`` if ``Y`` obsoletes ``X``. YUM does this if its ``obsoletes`` config option is enabled but the behavior is not properly documented and can be harmful.
Packit 6f3914
Packit 6f3914
See the related `Fedora bug 1096506
Packit 6f3914
<https://bugzilla.redhat.com/show_bug.cgi?id=1096506>`_ and `guidelines for renaming and obsoleting packages in Fedora <http://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_packages>`_.
Packit 6f3914
Packit 6f3914
====================================
Packit 6f3914
Behavior of ``--installroot`` option
Packit 6f3914
====================================
Packit 6f3914
Packit 6f3914
DNF offers more predictable behavior of installroot. DNF handles the path differently
Packit 6f3914
from the ``--config`` command-line option, where this path is always related to the host
Packit 6f3914
system (YUM combines this path with installroot). Reposdir is also handled slightly
Packit 6f3914
differently, if one path of the reposdirs exists inside of installroot, then
Packit 6f3914
repos are strictly taken from installroot (YUM tests each path from reposdir
Packit 6f3914
separately and use installroot path if existed). See the detailed description for
Packit 6f3914
\-\ :ref:`-installroot <installroot-label>` option.
Packit 6f3914
Packit 6f3914
========================================
Packit 6f3914
Different prompt after transaction table
Packit 6f3914
========================================
Packit 6f3914
Packit 6f3914
DNF doesn't provide download functionality after displaying transaction table. It only asks user whether to continue with transaction or not.
Packit 6f3914
If one wants to download packages, they can use the 'download' command.
Packit 6f3914
Packit 6f3914
========================================
Packit 6f3914
List command shows all repo alternatives
Packit 6f3914
========================================
Packit 6f3914
Packit 6f3914
DNF lists all packages from all repos, which means there can be duplicates package names (with different repo name). This is due to providing users
Packit 6f3914
possibility to choose preferred repo.
Packit 6f3914
Packit 6f3914
Packit 6f3914
===============================================
Packit 6f3914
``yum-langpacks`` subcommands have been removed
Packit 6f3914
===============================================
Packit 6f3914
Translations became part of core DNF and it is no longer
Packit 6f3914
necessary to manage individual language packs.
Packit 6f3914
Packit 6f3914
Following sub-commands were removed:
Packit 6f3914
Packit 6f3914
* langavailable
Packit 6f3914
* langinstall
Packit 6f3914
* langremove
Packit 6f3914
* langlist
Packit 6f3914
* langinfo
Packit 6f3914
Packit 6f3914
Packit 6f3914
###############################################
Packit 6f3914
 Changes in DNF plugins compared to YUM plugins
Packit 6f3914
###############################################
Packit 6f3914
Packit 6f3914
======================================  ================================================================  ===================================
Packit 6f3914
Original YUM tool                       DNF command/option                                                Package
Packit 6f3914
--------------------------------------  ----------------------------------------------------------------  -----------------------------------
Packit 6f3914
``yum check``                           :ref:`dnf repoquery <repoquery_command-label>` ``--unsatisfied``  ``dnf``
Packit 6f3914
``yum-langpacks``                                                                                         ``dnf``
Packit 6f3914
``yum-plugin-aliases``                  :ref:`dnf alias <alias_command-label>`                            ``dnf``
Packit 6f3914
``yum-plugin-auto-update-debug-info``   option in ``debuginfo-install.conf``                              ``dnf-plugins-core``
Packit 6f3914
``yum-plugin-changelog``                                                                                  ``dnf-plugins-core``
Packit 6f3914
``yum-plugin-copr``                     `dnf copr`_                                                       ``dnf-plugins-core``
Packit 6f3914
``yum-plugin-fastestmirror``            ``fastestmirror`` option in `dnf.conf`_                           ``dnf``
Packit 6f3914
``yum-plugin-fs-snapshot``                                                                                ``dnf-plugins-extras-snapper``
Packit 6f3914
``yum-plugin-local``                                                                                      ``dnf-plugins-core``
Packit 6f3914
``yum-plugin-merge-conf``                                                                                 ``dnf-plugins-extras-rpmconf``
Packit 6f3914
``yum-plugin-priorities``               ``priority`` option in `dnf.conf`_                                ``dnf``
Packit 6f3914
``yum-plugin-remove-with-leaves``       :ref:`dnf autoremove <autoremove_command-label>`                  ``dnf``
Packit 6f3914
``yum-plugin-show-leaves``                                                                                ``dnf-plugins-core``
Packit 6f3914
``yum-plugin-tmprepo``                  ``--repofrompath`` option                                         ``dnf``
Packit 6f3914
``yum-plugin-tsflags``                  ``tsflags``  option in `dnf.conf`_                                ``dnf``
Packit 6f3914
``yum-plugin-versionlock``                                                                                ``python3-dnf-plugin-versionlock``
Packit 6f3914
``yum-rhn-plugin``                                                                                        ``dnf-plugin-spacewalk``
Packit 6f3914
======================================  ================================================================  ===================================
Packit 6f3914
Packit 6f3914
Plugins that have not been ported yet:
Packit 6f3914
Packit 6f3914
``yum-plugin-filter-data``,
Packit 6f3914
``yum-plugin-keys``,
Packit 6f3914
``yum-plugin-list-data``,
Packit 6f3914
``yum-plugin-post-transaction-actions``,
Packit 6f3914
``yum-plugin-protectbase``,
Packit 6f3914
``yum-plugin-ps``,
Packit 6f3914
``yum-plugin-puppetverify``,
Packit 6f3914
``yum-plugin-refresh-updatesd``,
Packit 6f3914
``yum-plugin-rpm-warm-cache``,
Packit 6f3914
``yum-plugin-upgrade-helper``,
Packit 6f3914
``yum-plugin-verify``
Packit 6f3914
Packit 6f3914
Feel free to file an RFE_ for missing functionality if you need it.
Packit 6f3914
Packit 6f3914
#################################################
Packit 6f3914
 Changes in DNF plugins compared to YUM utilities
Packit 6f3914
#################################################
Packit 6f3914
Packit 6f3914
All ported YUM tools are now implemented as DNF plugins.
Packit 6f3914
Packit 6f3914
=========================  ================================================ =================================
Packit 6f3914
Original YUM tool          New DNF command                                  Package
Packit 6f3914
-------------------------  ------------------------------------------------ ---------------------------------
Packit 6f3914
``debuginfo-install``      `dnf debuginfo-install`_                         ``dnf-plugins-core``
Packit 6f3914
``find-repos-of-install``  `dnf list installed`_                            ``dnf``
Packit 6f3914
``needs-restarting``       `dnf tracer`_                                    ``dnf-plugins-extras-tracer``
Packit 6f3914
``package-cleanup``        :ref:`dnf list <list_command-label>`,
Packit 6f3914
                           :ref:`dnf repoquery <repoquery_command-label>`   ``dnf``, ``dnf-plugins-core``
Packit 6f3914
``repoclosure``            `dnf repoclosure`_                               ``dnf-plugins-extras-repoclosure``
Packit 6f3914
``repodiff``               `dnf repodiff`_                                  ``dnf-plugins-core``
Packit 6f3914
``repo-graph``             `dnf repograph`_                                 ``dnf-plugins-extras-repograph``
Packit 6f3914
``repomanage``             `dnf repomanage`_                                ``dnf-plugins-extras-repomanage``
Packit 6f3914
``repoquery``              :ref:`dnf repoquery <repoquery_command-label>`   ``dnf``
Packit 6f3914
``reposync``               `dnf reposync`_                                  ``dnf-plugins-core``
Packit 6f3914
``repotrack``              `dnf download`_ --resolve --alldeps              ``dnf-plugins-core``
Packit 6f3914
``yum-builddep``           `dnf builddep`_                                  ``dnf-plugins-core``
Packit 6f3914
``yum-config-manager``     `dnf config-manager`_                            ``dnf-plugins-core``
Packit 6f3914
``yum-debug-dump``         `dnf debug-dump`_                                ``dnf-plugins-extras-debug``
Packit 6f3914
``yum-debug-restore``      `dnf debug-restore`_                             ``dnf-plugins-extras-debug``
Packit 6f3914
``yumdownloader``          `dnf download`_                                  ``dnf-plugins-core``
Packit 6f3914
=========================  ================================================ =================================
Packit 6f3914
Packit 6f3914
Detailed table for ``package-cleanup`` replacement:
Packit 6f3914
Packit b53504
==========================================       ===============================================================
Packit b53504
``package-cleanup --dupes``                      ``dnf repoquery --duplicates``
Packit b53504
``package-cleanup --leaves``                     ``dnf repoquery --unneeded``
Packit b53504
``package-cleanup --orphans``                    ``dnf repoquery --extras``
Packit b53504
``package-cleanup --problems``                   ``dnf repoquery --unsatisfied``
Packit b53504
``package-cleanup --cleandupes``                 ``dnf remove --duplicates``
Packit b53504
``package-cleanup --oldkernels``                 ``dnf remove --oldinstallonly``
Packit b53504
``package-cleanup --oldkernels --keep=2``        ``dnf remove $(dnf repoquery --installonly --latest-limit=-2)``
Packit b53504
==========================================       ===============================================================
Packit 6f3914
Packit 6f3914
=============================
Packit 6f3914
yum-updateonboot and yum-cron
Packit 6f3914
=============================
Packit 6f3914
Packit 6f3914
DNF does not have a direct replacement of yum-updateonboot and yum-cron commands.
Packit 6f3914
However, the similar result can be achieved by ``dnf automatic`` command (see :doc:`automatic`).
Packit 6f3914
Packit 6f3914
You can either use the shortcut::
Packit 6f3914
Packit 6f3914
  $ systemctl enable dnf-automatic-install.timer && systemctl start dnf-automatic-install.timer
Packit 6f3914
Packit 6f3914
Or set ``apply_updates`` option of ``/etc/dnf/automatic.conf`` to True and use generic timer unit::
Packit 6f3914
Packit 6f3914
  $ systemctl enable dnf-automatic.timer && systemctl start dnf-automatic.timer
Packit 6f3914
Packit 6f3914
The timer in both cases is activated 1 hour after the system was booted up and then repetitively once every 24 hours. There is also a random delay on these timers set to 5 minutes. These values can be tweaked via ``dnf-automatic*.timer`` config files located in the ``/usr/lib/systemd/system/`` directory.
Packit 6f3914
Packit 6f3914
Packit 6f3914
=======================================
Packit 6f3914
Utilities that have not been ported yet
Packit 6f3914
=======================================
Packit 6f3914
Packit 6f3914
``repo-rss``,
Packit 6f3914
``show-changed-rco``,
Packit 6f3914
``show-installed``,
Packit 6f3914
``verifytree``,
Packit 6f3914
``yum-groups-manager``
Packit 6f3914
Packit 6f3914
Take a look at the FAQ_ about YUM to DNF migration. Feel free to file an RFE_ for missing functionality if you need it.
Packit 6f3914
Packit 6f3914
.. _dnf debuginfo-install: http://dnf-plugins-core.readthedocs.org/en/latest/debuginfo-install.html
Packit 6f3914
.. _dnf list installed: http://dnf.readthedocs.org/en/latest/command_ref.html
Packit 6f3914
.. _dnf tracer: http://dnf-plugins-extras.readthedocs.org/en/latest/tracer.html
Packit 6f3914
.. _dnf repoclosure: http://dnf-plugins-extras.readthedocs.org/en/latest/repoclosure.html
Packit 6f3914
.. _dnf repodiff: http://dnf-plugins-core.readthedocs.org/en/latest/repodiff.html
Packit 6f3914
.. _dnf repograph: http://dnf-plugins-extras.readthedocs.org/en/latest/repograph.html
Packit 6f3914
.. _dnf repomanage: http://dnf-plugins-extras.readthedocs.org/en/latest/repomanage.html
Packit 6f3914
.. _dnf reposync: http://dnf-plugins-core.readthedocs.org/en/latest/reposync.html
Packit 6f3914
.. _dnf download: http://dnf-plugins-core.readthedocs.org/en/latest/download.html
Packit 6f3914
.. _dnf builddep: http://dnf-plugins-core.readthedocs.org/en/latest/builddep.html
Packit 6f3914
.. _dnf config-manager: http://dnf-plugins-core.readthedocs.org/en/latest/config_manager.html
Packit 6f3914
.. _dnf debug-dump: http://dnf-plugins-extras.readthedocs.org/en/latest/debug.html
Packit 6f3914
.. _dnf debug-restore: http://dnf-plugins-extras.readthedocs.org/en/latest/debug.html
Packit 6f3914
.. _dnf copr: http://rpm-software-management.github.io/dnf-plugins-core/copr.html
Packit 6f3914
.. _dnf.conf: http://dnf.readthedocs.org/en/latest/conf_ref.html
Packit 6f3914
.. _RFE: https://github.com/rpm-software-management/dnf/wiki/Bug-Reporting#new-feature-request
Packit 6f3914
.. _FAQ: http://dnf.readthedocs.io/en/latest/user_faq.html