How To Install python3-dnf-plugins-core on CentOS 8
Introduction
In this tutorial we learn how to install python3-dnf-plugins-core
on CentOS 8.
What is python3-dnf-plugins-core
Core Plugins for DNF, Python 3 interface. This package enhances DNF with builddep, config-manager, copr, debug, debuginfo-install, download, groups-manager, needs-restarting, repoclosure, repograph, repomanage, reposync, changelog and repodiff commands. Additionally provides generate_completion_cache passive plugin.
We can use yum
or dnf
to install python3-dnf-plugins-core
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-dnf-plugins-core.
Install python3-dnf-plugins-core 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-plugins-core
using dnf
by running the following command:
sudo dnf -y install python3-dnf-plugins-core
Install python3-dnf-plugins-core 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-plugins-core
using yum
by running the following command:
sudo yum -y install python3-dnf-plugins-core
How To Uninstall python3-dnf-plugins-core on CentOS 8
To uninstall only the python3-dnf-plugins-core
package we can use the following command:
sudo dnf remove python3-dnf-plugins-core
python3-dnf-plugins-core Package Contents on CentOS 8
/etc/dnf/plugins/copr.conf
/etc/dnf/plugins/copr.d
/etc/dnf/plugins/debuginfo-install.conf
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/builddep.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/builddep.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/changelog.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/changelog.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/config_manager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/config_manager.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/copr.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/copr.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/debug.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/debug.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/debuginfo-install.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/debuginfo-install.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/download.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/download.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/generate_completion_cache.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/generate_completion_cache.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/groups_manager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/groups_manager.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/needs_restarting.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/needs_restarting.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/repoclosure.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/repoclosure.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/repodiff.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/repodiff.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/repograph.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/repograph.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/repomanage.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/repomanage.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/reposync.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/reposync.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/builddep.py
/usr/lib/python3.6/site-packages/dnf-plugins/changelog.py
/usr/lib/python3.6/site-packages/dnf-plugins/config_manager.py
/usr/lib/python3.6/site-packages/dnf-plugins/copr.py
/usr/lib/python3.6/site-packages/dnf-plugins/debug.py
/usr/lib/python3.6/site-packages/dnf-plugins/debuginfo-install.py
/usr/lib/python3.6/site-packages/dnf-plugins/download.py
/usr/lib/python3.6/site-packages/dnf-plugins/generate_completion_cache.py
/usr/lib/python3.6/site-packages/dnf-plugins/groups_manager.py
/usr/lib/python3.6/site-packages/dnf-plugins/needs_restarting.py
/usr/lib/python3.6/site-packages/dnf-plugins/repoclosure.py
/usr/lib/python3.6/site-packages/dnf-plugins/repodiff.py
/usr/lib/python3.6/site-packages/dnf-plugins/repograph.py
/usr/lib/python3.6/site-packages/dnf-plugins/repomanage.py
/usr/lib/python3.6/site-packages/dnf-plugins/reposync.py
/usr/lib/python3.6/site-packages/dnfpluginscore
/usr/lib/python3.6/site-packages/dnfpluginscore/__init__.py
/usr/lib/python3.6/site-packages/dnfpluginscore/__pycache__
/usr/lib/python3.6/site-packages/dnfpluginscore/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnfpluginscore/__pycache__/__init__.cpython-36.pyc
/usr/share/doc/python3-dnf-plugins-core
/usr/share/doc/python3-dnf-plugins-core/AUTHORS
/usr/share/doc/python3-dnf-plugins-core/README.rst
/usr/share/licenses/python3-dnf-plugins-core
/usr/share/licenses/python3-dnf-plugins-core/COPYING
/usr/share/locale/ca/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/cs/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/da/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/de/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/es/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/eu/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/fi/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/fr/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/fur/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/hu/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/id/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/it/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/ja/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/ko/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/nl/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/pa/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/pl/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/pt/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/pt_BR/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/ru/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/sk/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/sq/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/sr/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/sv/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/tr/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/uk/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/zh_CN/LC_MESSAGES/dnf-plugins-core.mo
/usr/share/locale/zh_TW/LC_MESSAGES/dnf-plugins-core.mo
/var/cache/dnf/packages.db
References
Summary
In this tutorial we learn how to install python3-dnf-plugins-core
on CentOS 8 using yum and dnf.