7.5. Yum Plug-ins
Yum provides plug-ins that extend and enhance its operations. Certain
plug-ins are installed by default. Yum always informs you which
plug-ins, if any, are loaded and active whenever you call any
yum
command. For example:
~]# yum info yum
Loaded plugins: product-id, refresh-packagekit, subscription-manager
[output truncated]
Note that the plug-in names which follow
Loaded plugins
are the names you can provide to the --disableplugins=plugin_name
option.
7.5.1. Enabling, Configuring, and Disabling Yum Plug-ins
To enable Yum plug-ins, ensure that a line beginning with
plugins=
is present in the [main]
section of /etc/yum.conf
, and that its value is 1
:
plugins=1
You can disable all plug-ins by changing this line to
sbr:https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Yum_Plugins.html
plugins=0
.sbr:https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Yum_Plugins.html
Tidak ada komentar:
Posting Komentar