--- title: "Uninstalling the Linux agent on RHEL-based systems" slug: "uninstalling-the-linux-agent-on-rhel-based-systems" updated: 2026-09-08T19:06:27Z published: 2026-09-08T19:06:27Z canonical: "docs.trellix.com/uninstalling-the-linux-agent-on-rhel-based-systems" --- > ## 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 RHEL-based systems Follow the steps in this section if you need to uninstall the agent software from your Linux endpoint running a support RHEL-based operating system, including - RHEL versions 7.2, 7.3, 7.4,7.5, 7.6, 7.7, 8 (64-bit) - CentOS versions 7.2, 7.3, 7.4, 7.5, 7.6, 7.7 (64-bit) - Amazon Linux AMI version 2018.3, AMI2 (64-bit) To uninstall Linux agent software on your RHEL-based system: 1. Open a Terminal session on your Linux endpoint running Endpoint Security Agent (HX) software version . 2. Type the following command to identify the `.rpm` or `.run` that was used to install the Endpoint Security Agent (HX) software version on your Linux endpoint. `username@localhost:~$ yum list | grep xagt` The example below identifies the ` xagt-[xAgent version]-1.el7.x86_64.rpm` 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.x86_64` | `[xAgent version]-1.el7` | ` installed ` | | --- | --- | --- | 3. Run the correct uninstall command for the file type you identified in Step 2 to remove the Endpoint Security Agent (HX) software version from your Linux endpoint. - If the `.rpm` file was used to install the Endpoint Security Agent (HX) software version on your Linux endpoint, use the `rpm -e` command to uninstall the agent software from your Linux endpoint. `username@localhost:~$ sudo rpm -e <installation_filename.rpm>` - If the `.run` file was used to install the Endpoint Security Agent (HX) software version on your Linux endpoint, use the binary path and uninstall script to remove the agent software from your Linux endpoint. `username@localhost:~$ sudo /opt/fireeye/bin/uninstall.sh` :