installPlugin
Syntax
installPlugin(pluginName, [pluginVersion], [pluginServerAddr])
Details
installPlugin
downloads and decompresses the specified plugin into
your DolphinDB plugins directory. It returns the full path of the installed plugin
description file, which is required when loading the plugin.
Use listRemotePlugins to get a list of all the plugins available for installation on your system along with their version information.
Arguments
pluginName is a string indicating the plugin name.
pluginVersion (optional) is a string indicating the plugin version to install. If it is not specified, the latest version will be installed.
pluginServerAddr is a string indicating the HTTP address of the DolphinDB plugins repository that the system should use. It is recommended to specify it as "http://plugins.dolphindb.com/plugins/".
Examples
Download the mysql plugin:
installPlugin("mysql", "http://plugins.dolphindb.com/plugins/")
// output
/home/DolphinDB_Linux64/server/plugins/mysql/PluginMySQL.txt
Load the plugin via loadPlugin
:
loadPlugin("/home/DolphinDB_Linux64/server/plugins/mysql/PluginMySQL.txt")
Related functions: listRemoteLists, loadPlugin