Configure Package Control

Prev Next

You can configure Package Control to control the installation and uninstallation of software packages on a system.

  • Use these commands to configure Package Control.

    Action

    Command

    Description

    Disable the feature.

    sadmin features disable pkg-ctrl

    When you disable Package Control, all its subfeatures are also disabled.

    Enable the feature.

    sadmin features enable pkg-ctrl

    When you enable Package Control, all its subfeatures revert to their default state.

    But, if you enable the Bypass Package Control subfeature, disable Package Control and re-enable Package Control, the Bypass Package Control subfeature is enabled.

    Configure these Package Control subfeatures.

    Feature

    Default state

    Feature configuration

    Allow Uninstallation

    Enabled

    Disable the feature.

    Prevent uninstallation of software packages on the system.

    sadmin features disable pkg-ctrl-allow-uninstall

    Enable the feature.

    sadmin features enable pkg-ctrl-allow-uninstall

    Bypass Package Control

    Disabled

    Enable the feature.

    The Package Control feature is bypassed and you cannot control the installation and uninstallation of software packages.

    sadmin features enable pkg-ctrl-bypass

    Disable the feature.

    sadmin features disable pkg-ctrl-bypass