RPM-MANIFEST(5)

2025-08-27

NAME

rpm-manifest - rpm package manifest file format

SYNOPSIS

GLOB ...

# COMMENT

DESCRIPTION

RPM package manifest files are plaintext files containing one or more glob(7) entries that are expected to match either RPM package files or other package manifests.

Package manifests can be used as a way to document installation of large package sets in an RPM-native way, without having to set up repositories and configure external dependency resolver programs to use them. For end-user purposes manifests are clumsy, but for example to quickly install a base image from a pre-determined set of package versions from local directory, a manifest may well be easier and faster than using a depsolver for the task. A manifest can be also used to work around command line length limitations.

Relative globs are interpreted relative to the user's current directory. Multiple globs per line are permitted, but for readability it's recommended to use one per line instead.

Lines beginning with # are considered comments. Empty lines and lines consisting of only whitespace are ignored.

EXAMPLES

Manifest of myproj-1.0- and it's dependency mylib-2.1 packages for the x86_64 architecture.


/mnt/myproj/rpm/myproj-1.0-*.x86_64.rpm
/mnt/deplib/rpm/mylib-2.1-*.x86_64.rpm

Manifest of all noarch packages in the default rpmbuild(1) location.


~/rpmbuild/RPMS/noarch/*.rpm

Create a manifest called mymanifest.mft of currently installed packages, assuming a base path of /mnt/Packages for the RPM package files. Then install the manifest to an alternative system root at /srv/test.


# rpm -qa --qf '/mnt/Packages/%{nevra}.rpmn' > mymanifest.mft
# rpm -Uv --root /srv/test mymanifest.mft

SEE ALSO

rpm(8) rpm-common(8)

RPM 6.0.90

Index

2025-08-27