--- title: "Uninstalling the Linux agent on an Ubuntu system" slug: "uninstalling-the-linux-agent-on-an-ubuntu-system" updated: 2026-09-08T19:06:27Z published: 2026-09-08T19:06:27Z canonical: "docs.trellix.com/uninstalling-the-linux-agent-on-an-ubuntu-system" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Uninstalling the Linux agent on an Ubuntu system Follow the steps in this section if you need to uninstall the agent software from your Linux endpoint running Ubuntu version 18.04. To uninstall Linux agent software on your Linux endpoint running a support Ubuntu version: 1. Open a Terminal session on your Linux endpoint running Endpoint Security Agent (HX) software version . 2. Type the following command to identify the `.deb` that was used to install the Endpoint Security Agent (HX) software version on your Linux endpoint. `username@localhost:~$ dpkg -l | grep xagt` The example below identifies the `xagt-[xAgent version]-1.ubuntu12_amd64.deb` file as the file that was used to install the agent software on the Linux endpoint. You can see the Linux OS bit-architecture, the agent software version, and the software status. | `xagt.amd64` | ` [xAgent version]-1.ubuntu12` | ` installed ` | | --- | --- | --- | 3. Run the `dpkg --purge xagt` command to remove the Endpoint Security Agent (HX) software version from your Linux endpoint. `username@localhost: ~$ sudo dpkg --purge xagt <installation_filename.deb>` :