Agent Uninstall on Linux, UNIX, or Mac
You can use a command line to uninstall the Ivanti Endpoint Security Agent on a Linux, UNIX, or Mac platform.
You may uninstall the Ivanti Endpoint Security Agent on an endpoint that contains a Linux, UNIX, or Mac operating system.
Uninstalling the Agent for Mac, Linux, or UNIX
Uninstall of Mac, Linux, or UNIX agents can be completed only by command line.
Prerequisites:
- You have an Ivanti Endpoint Security Agent installed on an endpoint that contains either a Mac, Linux, or UNIX operating system. Refer to Supported Endpoint Operating Systems for a list of supported operating systems.
- Ensure you are logged on to the endpoint using a root user account.
To uninstall the agent, perform the following procedure on an endpoint with a Mac, Linux, or UNIX operating system.
- Open Terminal.
How you open Terminal varies by operating system.
-
Change directory to the agent installation directory. The following table lists the default installation directory for various operating systems.
Operating System
Command
Mac
/private/var/patchagent
Linux
/usr/local/patchagent
UNIX
/export/home/patchagent
- Type ./uninstall at the command prompt and press ENTER.
The agent is uninstalled. - Change directory to the parent directory of the installation directory. Type the command for your operating system below and press ENTER.
Operating System
Command
Mac
cd /private/var/
Linux
cd /usr/local/
UNIX
cd /export/home/
- Type rm –rf patchagent and press ENTER.
The agent installation directory is deleted.Tip: If desired, you may reinstall the agent using the Command Line method. Refer to Understanding Agent Installation Methods for additional information.
If you installed the agent to a directory other than the default directory, navigate to that directory.
If you installed the agent to a directory other than the default directory, navigate to the parent directory of the agent installation directory.