Software Package Options
One-click software installation is supported in the command line. You can select commands as required to complete the installation. All options below are optional.
Installation command format: ./software_package_name.run [options]
Table 1 describes the supported options.
Option |
Description |
|---|---|
--help | -h |
Queries help information. |
--info |
Queries software package construction information. |
--list |
Queries the software package list. |
--check |
Checks the consistency and integrity of packages. |
--quiet | -q |
Indicates a silent installation, which skips interactive messages. |
--extract=<path> |
Decompresses a software package into a specified directory. |
--install-path=<path> |
This option can be set only to an absolute path. Check whether the file exists in the following directory:
If you do not specify the path, the default path is used.
If this option is used to specify the installation directory, the running user must have the read and write permissions on the specified installation directory. |
--install |
Installs a software package. You can specify the installation path --install-path=<path> or use the default installation path. |
--upgrade |
Upgrades the installed software from an earlier version to a later version. You can specify the upgrade path --install-path=<path> or not. If the path is not specified, the default path is used. NOTE:
After this option is used for an upgrade, the new version inherits the configuration in the config.json file of Server of an earlier version. |
--uninstall |
Uninstalls the software that has been installed. You can specify the uninstallation path --install-path=<path>. |