ZENworks includes a uninstall program (zlm-uninstall) to remove the ZENworks Agent from a device. If for some reason the uninstall program is unable to remove the ZENworks Agent, you can manually uninstall the agent. The following sections provide instructions to remove the software:
Make sure you have unregistered the device. See Section 13.0, Unregistering and Reregistering Devices.
Log in to the managed device as root.
Run the following command:
/opt/novell/zenworks/bin/zlm-uninstall
Follow the prompts.
Use the following command to list the ZENworks package names:
rpm -qa | grep novell-zenworks
Remove each of the packages individually using the following command:
rpm -e | package_name
or
Use the following simple script to remove multiple packages:
for i in ‘rpm -qa | grep novell-zenworks‘ ; do rpm -e $i ; done
Because of package dependencies, you might need to run this script multiple times to remove all packages. You can verify that all packages have been removed by running the command in Step 1.
Remove the following directories:
NOTE:When you uninstall ZENworks Linux Management on SLES 10 and SLED 10 managed devices, the core zmd packages such as zmd, rug, zen-updater, and zen-inventory are not removed because they are also installed as a part of the distribution. Hence, when you reinstall the ZENworks Agent on these devices, the configuration files such as zmd.conf that are associated to these packages persist.