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