dnf
Package management utility for RHEL, Fedora, and CentOS (replaces yum).
- Upgrade installed packages to the newest available versions:
sudo dnf upgrade
- Search packages via keywords:
dnf search {keywords}
- Display details about a package:
dnf info {package}
sudo dnf install {package}
- Install a new package and assume yes to all questions:
sudo dnf -y install {package}
sudo dnf remove {package}
dnf list --installed
- Find which packages provide a given file:
dnf provides {file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).