--- title: "Uninstall the SELinux RPM package" slug: "uninstall-the-selinux-rpm-package-8" updated: 2026-10-26T07:33:44Z published: 2026-10-26T07:33:44Z canonical: "docs.trellix.com/uninstall-the-selinux-rpm-package-8" --- > ## 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. # Uninstall the SELinux RPM package On uninstalling the SELinux package, Trellix Agent processes will not be under SELinux confinement and the SELinux policies will be unloaded from your system. Run one of the following commands to uninstall the Trellix Agent SELinux RPM package: - Run `rpm -e MFEma-selinux` The sample output when you run the above command: ``` $ rpm -e MFEma-selinux Uninstalling MFEma-selinux Finished uninstallation ``` Or - For RedHat 7.x versions: **`rpm -e MFEma-selinux-5.8.x-<build-number>.el7.noarch`** - For RedHat 8.x versions: **`rpm -e MFEma-selinux-5.8.x-<build-number>.el8.noarch`** Example command: ``` $ rpm -e MFEma-selinux-5.8.x-1.el7.noarch Uninstalling MFEma-selinux Finished uninstallation ``` - For RedHat 9.x versions: **`rpm -e MFEma-selinux-5.8.x-<build-number>.el9.noarch`** - For RedHat 10.x versions: **`rpm -e MFEma-selinux-5.8.x-<build-number>.el10.noarch`** Trellix Agent restarts in unconfined mode after uninstalling the SELinux RPM package. :