rpm-plugins - Man Page

Plugins for the RPM Package Manager

Description

RPM plugins provide functionality that is not suited to be used everywhere.​ They may not be built or shipped on some platforms or may not be installed or be disabled on some systems.​

This allows plugins to interface with systems that may not acceptable as a dependency for RPM and to provide functionality that may be unwanted under some circumstances.​

Configuration

Some plugins can be configured by specific macros or influenced by command line parameters.​ But most can only be turned on or off.​ See the plugin'​s man page for details.​

Plugins are controlled by a macro %__transaction_NAME which is set to the location of the plugin file.​ Undefining the macro or setting it to %{nil} will prevent the plugin from being run.​

This can be done on the RPM command line e.​g.​ with --undefine=__transaction_syslog.​ To disable a plugin permanently, place a macros.​* file in /etc/rpm/ that contains

  %__transaction_NAME %{nil}

Another option is to remove the plugin from the system if it is packaged in its own sub package.​

For some operations it may be desirable to disable all plugins at once.​ This can be done by passing --noplugins to rpm(8) at the command line.​

See Also

rpm(8), rpm-plugin-audit(8), rpm-plugin-ima(8), rpm-plugin-prioreset(8), rpm-plugin-selinux(8), rpm-plugin-syslog(8), rpm-plugin-systemd-inhibit(8)

Referenced By

rpm(8), rpm-plugin-audit(8), rpm-plugin-dbus-announce(8), rpm-plugin-fapolicyd(8), rpm-plugin-ima(8), rpm-plugin-prioreset(8), rpm-plugin-selinux(8), rpm-plugin-syslog(8), rpm-plugin-systemd-inhibit(8), rpm-plugin-unshare(8).

2026-08-20 RPM 6.1.0