impure functioninstallPackage

Installs a package.

Information

Installs the package with the best matching version (or only the specified version if exactMatch is given). The package is installed into ~/.openmodelica/libraries/, which must be in the OPENMODELICALIBRARY. To update the index, call updatePackageIndex().

Inputs

TypeNameDefaultDescription
TypeNamepkg
Stringversion""
BooleanexactMatchfalse

Outputs

TypeNameDefaultDescription
Booleanresult