Get the App
SLTechnology News&Howtos  ›  Servers  › 

A new generation of RPM software package manager using linux's dnf command

Shulou Source: shulou.com Published: 2022-06-02 19:25:22 10月30日 Update

This article will explain in detail the new generation of RPM software package manager using linux's dnf command. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.

Dnf is the new generation of rpm package manager. It first appeared in the Fedora 18 release. Recently, it replaced yum as the package manager for Fedora 22.

Dnf package manager overcomes some bottlenecks of yum package manager and improves many aspects, including user experience, memory footprint, dependency analysis, running speed and so on. Dnf uses RPM, libsolv, and hawkey libraries for package management operations. Although it is not pre-installed in CentOS and RHEL 7, you can use dnf while using yum.

Of course, dnf is not perfect, for example, there is no-skip-broken command in dnf, and there is no alternative command to choose from. It is not determined which package provides the resolvedep command that specifies the dependency, there is no deplist command used to list a software dependency package, and so on.

Syntax format: dnf [parameters]

Common parameters:

Reference example

Roll back the acpid package to a specific version:

[root@linuxcool ~] # dnf downgrade acpid

Reinstall a specific package:

[root@linuxcool ~] # dnf reinstall nano

View all package groups:

[root@linuxcool ~] # dnf grouplist about using linux's dnf command, the new generation of RPM package manager is here. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.

Tags: Software management commands software packages next generation content parameters more articles references good practical memory at the same time examples commonly used articles formats versions bottlenecks Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Apple macOS Redmi Huawei