On the server that you want to uninstall the application, verify that you are not in the directory of the application you want to uninstall.
Stop the application that you want to uninstall.
If you are uninstalling a Remote Agent, change the permissions on files in the /protect directory.
% chmod -R 755 /N1SPS5.2-home/agent/bin/protect |
N1SPS5.2-home is the directory where you installed the Remote Agent.
Delete the directory that contains the application that you want to uninstall.
# rm -r /N1SPS5.2-home/app-directory |
N1SPS5.2-home is the directory where you installed the application. The default directory on UNIX systems is /opt/SUNWn1sps/. The default directory on Linux systems is /opt/sun. The value for app-directory is one of the following:
server – uninstalls a Master Server
agent – uninstalls a Remote Agent
cli – uninstalls a CLI Client
ld – uninstalls a Local Distributor
If you are uninstalling all of the applications from the machine, when the N1SPS5.2–home directory contains no more application directories, delete the common/ directory.
# rm -r N1SPS5.2-home/common |
The uninstallation is complete.