[ English | 简体中文 ]
Package installation manager module for openvela's XMS module.
- Provides package installation functionality
- Provides package information querying capability
- Provides package uninstallation capability
-
Package management can be done through the command line
-
Install a package:
pm install [packagename]
-
Query which packages are installed:
pm list
-
-
Use the package management tool through source code
-
Install a package using the following format:
#include "pm/PackageManager.h" PackageManager pm; InstallParam parms; pm.installPackage(parms);
-
Retrieve all package-related information with:
#include "pm/PackageManager.h" PackageManager pm; std::vector<PackageInfo> pgInfos; pm.getAllPackageInfo(&pgInfos);
-
Uninstall a package using:
#include "pm/PackageManager.h" PackageManager pm; UninstallParam parms; pm.uninstallPackage(parms);
-