RPM

The package format of RHEL and the low-level tool that installs and queries packages without resolving dependencies.

In more detail

rpm -q asks whether a package is installed, -ql lists its files, -qf finds the package that owns a file and -qp queries a package file. To install a package file with its dependencies use dnf install with the file's path instead.

Example

rpm -qf /etc/chrony.conf

Related terms

Taught in

References

Certification courses