dnf-changelog
View package changelogs
TLDR
View all changelogs for a given package
View all changelogs for a given package after a specified date
View the last n number of changelogs for a given package
Show only new items for upgradeable packages
Display help
SYNOPSIS
dnf-changelog [options] <PACKAGE_SPEC>...
PARAMETERS
-c FILE, --config=FILE
Use specified config file instead of /etc/dnf/dnf.conf
--releasever=RELEASEVER
Override release version for repositories
--setopt=OPTION=VALUE
Override DNF configuration options
-v, --verbose
Increase verbosity level
-q, --quiet
Quiet operation (no output except errors)
--disablerepo=REPO_ID
Disable repositories by ID
--enablerepo=REPO_ID
Enable repositories by ID
--cacheonly
Use only cached repodata, no network access
-h, --help
Display help and exit
--version
Display version and exit
DESCRIPTION
dnf-changelog is a command-line utility from the DNF plugins suite (dnf-plugins-core) that retrieves and displays changelog information for RPM packages. Changelogs contain maintainer notes on changes, bug fixes, enhancements, and updates for specific package versions.
It queries the local RPM database for installed packages or repository metadata for available ones. This helps users review package history before installing, updating, or troubleshooting.
Usage is straightforward: specify a package name, glob pattern, or local RPM file. For example, dnf-changelog kernel shows changes for the latest kernel package from repos, while dnf-changelog /path/to/package.rpm works offline.
The tool integrates with DNF's configuration, supporting repo filtering, caching, and release versions. Output is formatted chronologically, newest first. Not all repositories provide full changelogs, depending on maintainer inclusion in repodata.
CAVEATS
Changelogs require repodata support from repositories; unavailable for some packages or local RPMs without metadata. Output limited to provided entries. Use dnf info --changelog as alternative.
EXAMPLES
dnf-changelog firefox
View changelog for available firefox.
dnf-changelog bash-5.*
Changelogs for bash versions 5.x.
dnf-changelog --releasever=39 kernel
Check Fedora 39 kernel changelog.
PACKAGE SPECIFIERS
Supports name, NEVRA (name-epoch:version-release.arch), globs (*), file paths to RPMs, or installed pkg names.
HISTORY
Introduced in dnf-plugins-core around Fedora 22 (2015) as DNF replaced Yum. Evolved with DNF 4.x+; now standard for modern RPM distros like Fedora, RHEL 8+.


