You can install and uninstall packages on the agent or the manager by using one of the following approaches:
Install and Uninstall Packages From Framework Manager
Install and Uninstall Packages From Agent Machine