--- title: "Uninstalling the Linux xAgent on an Ubuntu System" slug: "uninstalling-the-linux-xagent-on-an-ubuntu-system" updated: 2026-09-08T19:11:22Z published: 2026-09-08T19:11:22Z canonical: "docs.trellix.com/uninstalling-the-linux-xagent-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 xAgent on an Ubuntu System Follow the steps in this section if you need to uninstall the xAgent software from your Linux endpoint running Ubuntu version 14.04, 16.04, or 18.04. **To uninstall Linux xAgent software on your Linux endpoint running a support Ubuntu version:** `username@localhost:~$ dpkg -l | grep xagt` The example below identifies the `xagt-30.0.0-1.ubuntu12_amd64.deb` file as the file that was used to install the xAgentsoftware on the Linux endpoint. You can see the Linux OS bit-architecture, the xAgent software version, and the software status. | `xagt.amd64` | ` 30.0.0-1.ubuntu12` | ` installed ` | | --- | --- | --- | `username@localhost: ~$ sudo dpkg --purge <installation_filename.deb>` 1. Open a Terminal session on your Linux endpoint running Endpoint Security (HX) xAgent software version . 2. Type the following command to identify the `.deb` that was used to install the Endpoint Security (HX) xAgent software version on your Linux endpoint. 3. Run the `dpkg -purge` command to remove the Endpoint Security (HX) xAgent software version from your Linux endpoint. :