You can install and uninstall packages on the agent or the manager by using one of the following approaches:
You can install and uninstall packages on the agent or manager from the Framework Manager using the following commands:
Syntax: ./unifi -n pkgman install <agent> <package>
Syntax: ./unifi -n pkgman uninstall <agent> <package>
If you have not mapped your local account to a Framework Manager user, replace the -n option with -u <username> -p <password> options and specify the name and password of a Framework Manager user who has the rights to perform this task.
Replace <agent> with the agent name for the host. To view a list of these names, click Hosts on the home page of the Framework Console.
Replace <package> with the name of the package to install or uninstall. To view a list of package names in the Framework Console, click Hosts, select a host, select to display the packages. The name field contains the package name that is used in this command.
NOTE:You cannot use this command to install or uninstall consoles. It can only be used to install and uninstall modules.
You can install or uninstall multiple package on the agent or the manager from the respective workstation using the following commands:
Prerequisite
You must have the admin privileges for the unifi module to execute this command in the local agent machine.
The packages that are to be installed must be available in the primary framework manager.
Syntax: ./unifi -n distrib install <package1_name> <package2_name>
Syntax: ./unifi -n distrib uninstall <package1_name> <package2_name>
NOTE:You must not uninstall the packages rexec, strfwd, regclnt, distrib in the agent. Uninstalling any of these packages will affect the functionality.
If you have not mapped your local account to a Framework Manager user, replace the -n option with -u <username> -p <password> options and specify the name and password of a Framework Manager user who has the rights to perform this task.
Replace <package1_name> <package2_name> with the name of the package to install or uninstall. To view a list of package names in the Framework Console, click Hosts, select a host, select to display the packages. The name field contains the package name that is used in this command.
You can also install and uninstall console packages. To install or uninstall console packages, use the following syntax:
Syntax: ./unifi -n distrib install <module_package_name> Console/<console_package_name>
Syntax: ./unifi -n distrib uninstall <module_package_name> Console/<console_package_name>
Replace <module_package_name> with the name of the module package and <console_package_name> with the name of the console package that must be installed or uninstalled.