How To Install python3-dnf on CentOS 8
Introduction
In this tutorial we learn how to install python3-dnf
on CentOS 8.
What is python3-dnf
Python 3 interface to DNF. python3-dnf 4.4.2 11.el8 noarch 541 k dnf-4.4.2-11.el8.src.rpm baseos Python 3 interface to DNF https GPLv2+ and GPLv2 and GPL Python 3 interface to DNF.
We can use yum
or dnf
to install python3-dnf
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-dnf.
Install python3-dnf on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install python3-dnf
using dnf
by running the following command:
sudo dnf -y install python3-dnf
Install python3-dnf on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install python3-dnf
using yum
by running the following command:
sudo yum -y install python3-dnf
How To Uninstall python3-dnf on CentOS 8
To uninstall only the python3-dnf
package we can use the following command:
sudo dnf remove python3-dnf
python3-dnf Package Contents on CentOS 8
/usr/bin/dnf-3
/usr/lib/python3.6/site-packages/dnf
/usr/lib/python3.6/site-packages/dnf-plugins
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__
/usr/lib/python3.6/site-packages/dnf/__init__.py
/usr/lib/python3.6/site-packages/dnf/__pycache__
/usr/lib/python3.6/site-packages/dnf/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/callback.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/callback.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/comps.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/comps.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/const.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/const.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/crypto.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/crypto.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/dnssec.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/dnssec.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/drpm.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/drpm.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/goal.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/goal.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/history.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/history.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/i18n.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/i18n.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/lock.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/lock.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/logging.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/logging.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/match_counter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/match_counter.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/package.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/package.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/persistor.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/persistor.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/plugin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/plugin.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/pycomp.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/pycomp.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/query.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/query.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/repo.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/repo.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/repodict.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/repodict.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/sack.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/sack.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/selector.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/selector.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/subject.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/subject.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/transaction.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/transaction.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/transaction_sr.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/transaction_sr.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/base.py
/usr/lib/python3.6/site-packages/dnf/callback.py
/usr/lib/python3.6/site-packages/dnf/cli
/usr/lib/python3.6/site-packages/dnf/cli/__init__.py
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/aliases.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/aliases.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/cli.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/cli.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/completion_helper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/completion_helper.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/demand.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/demand.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/format.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/format.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/main.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/main.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/option_parser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/option_parser.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/output.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/output.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/progress.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/progress.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/term.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/term.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/aliases.py
/usr/lib/python3.6/site-packages/dnf/cli/cli.py
/usr/lib/python3.6/site-packages/dnf/cli/commands
/usr/lib/python3.6/site-packages/dnf/cli/commands/__init__.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/alias.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/alias.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/autoremove.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/autoremove.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/check.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/check.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/clean.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/clean.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/deplist.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/deplist.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/distrosync.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/distrosync.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/downgrade.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/downgrade.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/group.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/group.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/history.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/history.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/install.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/install.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/makecache.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/makecache.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/mark.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/mark.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/module.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/module.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/reinstall.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/reinstall.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/remove.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/remove.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/repolist.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/repolist.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/repoquery.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/repoquery.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/search.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/search.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/shell.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/shell.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/swap.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/swap.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/updateinfo.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/updateinfo.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/upgrade.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/upgrade.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/upgrademinimal.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/__pycache__/upgrademinimal.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/cli/commands/alias.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/autoremove.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/check.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/clean.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/deplist.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/distrosync.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/downgrade.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/group.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/history.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/install.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/makecache.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/mark.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/module.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/reinstall.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/remove.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/repolist.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/repoquery.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/search.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/shell.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/swap.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/updateinfo.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/upgrade.py
/usr/lib/python3.6/site-packages/dnf/cli/commands/upgrademinimal.py
/usr/lib/python3.6/site-packages/dnf/cli/completion_helper.py
/usr/lib/python3.6/site-packages/dnf/cli/demand.py
/usr/lib/python3.6/site-packages/dnf/cli/format.py
/usr/lib/python3.6/site-packages/dnf/cli/main.py
/usr/lib/python3.6/site-packages/dnf/cli/option_parser.py
/usr/lib/python3.6/site-packages/dnf/cli/output.py
/usr/lib/python3.6/site-packages/dnf/cli/progress.py
/usr/lib/python3.6/site-packages/dnf/cli/term.py
/usr/lib/python3.6/site-packages/dnf/cli/utils.py
/usr/lib/python3.6/site-packages/dnf/comps.py
/usr/lib/python3.6/site-packages/dnf/conf
/usr/lib/python3.6/site-packages/dnf/conf/__init__.py
/usr/lib/python3.6/site-packages/dnf/conf/__pycache__
/usr/lib/python3.6/site-packages/dnf/conf/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/conf/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/conf/__pycache__/config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/conf/__pycache__/config.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/conf/__pycache__/read.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/conf/__pycache__/read.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/conf/__pycache__/substitutions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/conf/__pycache__/substitutions.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/conf/config.py
/usr/lib/python3.6/site-packages/dnf/conf/read.py
/usr/lib/python3.6/site-packages/dnf/conf/substitutions.py
/usr/lib/python3.6/site-packages/dnf/const.py
/usr/lib/python3.6/site-packages/dnf/crypto.py
/usr/lib/python3.6/site-packages/dnf/db
/usr/lib/python3.6/site-packages/dnf/db/__init__.py
/usr/lib/python3.6/site-packages/dnf/db/__pycache__
/usr/lib/python3.6/site-packages/dnf/db/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/db/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/db/__pycache__/group.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/db/__pycache__/group.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/db/__pycache__/history.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/db/__pycache__/history.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/db/group.py
/usr/lib/python3.6/site-packages/dnf/db/history.py
/usr/lib/python3.6/site-packages/dnf/dnssec.py
/usr/lib/python3.6/site-packages/dnf/drpm.py
/usr/lib/python3.6/site-packages/dnf/exceptions.py
/usr/lib/python3.6/site-packages/dnf/goal.py
/usr/lib/python3.6/site-packages/dnf/history.py
/usr/lib/python3.6/site-packages/dnf/i18n.py
/usr/lib/python3.6/site-packages/dnf/lock.py
/usr/lib/python3.6/site-packages/dnf/logging.py
/usr/lib/python3.6/site-packages/dnf/match_counter.py
/usr/lib/python3.6/site-packages/dnf/module
/usr/lib/python3.6/site-packages/dnf/module/__init__.py
/usr/lib/python3.6/site-packages/dnf/module/__pycache__
/usr/lib/python3.6/site-packages/dnf/module/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/module/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/module/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/module/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/module/__pycache__/module_base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/module/__pycache__/module_base.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/module/exceptions.py
/usr/lib/python3.6/site-packages/dnf/module/module_base.py
/usr/lib/python3.6/site-packages/dnf/package.py
/usr/lib/python3.6/site-packages/dnf/persistor.py
/usr/lib/python3.6/site-packages/dnf/plugin.py
/usr/lib/python3.6/site-packages/dnf/pycomp.py
/usr/lib/python3.6/site-packages/dnf/query.py
/usr/lib/python3.6/site-packages/dnf/repo.py
/usr/lib/python3.6/site-packages/dnf/repodict.py
/usr/lib/python3.6/site-packages/dnf/rpm
/usr/lib/python3.6/site-packages/dnf/rpm/__init__.py
/usr/lib/python3.6/site-packages/dnf/rpm/__pycache__
/usr/lib/python3.6/site-packages/dnf/rpm/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/rpm/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/rpm/__pycache__/connection.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/rpm/__pycache__/connection.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/rpm/__pycache__/error.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/rpm/__pycache__/error.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/rpm/__pycache__/miscutils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/rpm/__pycache__/miscutils.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/rpm/__pycache__/transaction.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/rpm/__pycache__/transaction.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/rpm/connection.py
/usr/lib/python3.6/site-packages/dnf/rpm/error.py
/usr/lib/python3.6/site-packages/dnf/rpm/miscutils.py
/usr/lib/python3.6/site-packages/dnf/rpm/transaction.py
/usr/lib/python3.6/site-packages/dnf/sack.py
/usr/lib/python3.6/site-packages/dnf/selector.py
/usr/lib/python3.6/site-packages/dnf/subject.py
/usr/lib/python3.6/site-packages/dnf/transaction.py
/usr/lib/python3.6/site-packages/dnf/transaction_sr.py
/usr/lib/python3.6/site-packages/dnf/util.py
/usr/lib/python3.6/site-packages/dnf/yum
/usr/lib/python3.6/site-packages/dnf/yum/__init__.py
/usr/lib/python3.6/site-packages/dnf/yum/__pycache__
/usr/lib/python3.6/site-packages/dnf/yum/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/yum/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/yum/__pycache__/misc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/yum/__pycache__/misc.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/yum/__pycache__/rpmtrans.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf/yum/__pycache__/rpmtrans.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf/yum/misc.py
/usr/lib/python3.6/site-packages/dnf/yum/rpmtrans.py
References
- [python3-dnf website](https://github.com/rpm-software-management/dnf https://github.com/rpm-software-management/dnf)
Summary
In this tutorial we learn how to install python3-dnf
on CentOS 8 using yum and dnf.