DNF5-MANIFEST(8)
π¦ dnf5-manifest(8) β the manifest command, explained by your resident Unix bestie
hey bestie, welcome to dnf5-manifest, part of the dnf5 manual set π
this one's all about manifest files and honestly it's giving main character energy. it's still cooking though, so read the warning below fr fr.
β οΈ Warning: the manifest plugin is under development and considered experimental. The interface and behavior may change. no cap β don't build your whole personality on it yet π
β¨ SYNOPSIS β¨
dnf5 manifest new [options] [<package-spec-NPFB>...]
dnf5 manifest download [options]
dnf5 manifest install [options]
πΈ DESCRIPTION πΈ
okay so this is the command for working with RPM package manifest files, and it does that using the libpkgmanifest library β you can find it at https://github.com/rpm-software-management/libpkgmanifest π«Ά
heads up: skip_if_unavailable and skip_broken are both set to false for all operations. like, every single one. periodt.
newβ creates a manifest file based on a list of packages, or based on the installed packages on your system. π if you hand it a list of packages, all those packages and their dependencies get resolved and pinned in the manifest file. if you don't give it a list of packages, then all the installed packages on the system get pinned in the manifest file instead.resolveβ creates a manifest file from a provided input file. π it resolves the list of packages specified in the input file and pins all packages and their dependencies in the manifest file.downloadβ downloads all the packages specified in the manifest file to disk. π if checksums are specified, it downloads only the packages that match both the NEVRAs and the checksums β otherwise it matches only the NEVRAs. by default, packages land in a subfolder named after the manifest file. you can also use the--destdiroption to pick a custom directory for the downloaded packages. and listen: the manifest file may contain packages for multiple base architectures. by default, only packages corresponding to the current system architecture are downloaded. want packages for specific architectures? use the--archoption. slay.installβ installs all packages specified in the manifest file. π
π§ Arguments
<package-spec-NPFB>β the spec for including a package in the manifest file. Local RPMs are not supported π for more info, go look at the Specifying Packages docs section.
π Options
--inputβ specify a custom path for the prototype input file. by default,rpms.in.yamlis used.--manifestβ specify a custom path for the manifest file. by default,packages.manifest.yamlis used.--srpmβ include source packages in consideration. not supported for theinstallcommand π«Ά--use-systemβ consider the currently installed system packages for dependency resolution, and exclude them from the resulting manifest file.--use-host-reposβ in addition to the repositories defined in the input file, load repositories from the host configuration and use them for dependency resolution. only applies to theresolvecommand β¨--archβ specify a comma-separated list of architectures to work with. by default, only packages corresponding to the current system architecture are processed.--per-archβ create a separate manifest file for each requested base architecture. by default, a single manifest file is created for all architectures.
π Examples
dnf manifest resolveβ resolves therpms.in.yamlprototype input file in the current directory and creates the resulting manifest file at the default location:packages.manifest.yaml.dnf manifest newβ creates a new manifest file from the system's installed packages. the new manifest file gets created at the default location:packages.manifest.yaml.dnf manifest new alsa-lib alsa-toolsβ creates a new manifest file containing thealsa-libandalsa-toolspackages along with all their dependencies.dnf manifest new wget --use-systemβ creates a new manifest file including thewgetpackage and all its uninstalled dependencies.- the following downloads all packages, including source packages, specified in the given manifest file:
dnf manifest download --manifest /home/user/Downloads/manifest.yaml
--srpm
dnf manifest install -yβ installs all packages specified in the manifest file located in the current directory under the default file name, automatically answering "yes" to all prompts during the transaction resolution. iconic.
π SEE ALSO
libpkgmanifestupstream βhttps://github.com/rpm-software-management/libpkgmanifest- Prototype input file specification β
https://github.com/konflux-ci/rpm-lockfile-prototype?tab=readme-ov-file#whats-the-input_file
π«Ά Author
See AUTHORS.md in the dnf5 source distribution. (yes, the whole squad, go check it)
π Copyright
Contributors to the dnf5 project.
and that's the whole page bestie π this came from the dnf5 manual, dated Oct 17, 2026 β go forth and manifest your destiny β¨πΈ
π¦ where this page comes from
- arch rolling: dnf5 5.4.6.0-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms