latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

RPM
Install or Uninstall Package

Start RPM package installation, update, or removal

This function installs, upgrades, or uninstalls RPM packages.

Note:

The system queues this function's actions to run as background tasks. The actions may require additional time to finish.

get/package_manager_submit_actions

Query parameters

installstring

The RPM package that you want to install. If you do not use this parameter, the function does not install a package.

Note:

You can pass this parameter multiple times to install more than one RPM package

uninstallstring

The RPM package that you want to uninstall. If you do not use this parameter, the function does not uninstall a package.

Note:

You can pass this parameter multiple times to uninstall more than one RPM package.

upgradestring

The RPM package that you want to upgrade. If you do not use this parameter, the function does not upgrade a package.

Note:

You can pass this parameter multiple times to upgrade more than one RPM package.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "build": 9717
  },
  "metadata": {
    "command": "package_manager_submit_actions",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}