---
title: Uninstalling the RHEL agent
description: Remove the PingAccess agent from a RHEL system.
component: pingaccess
version: 9.0
page_id: pingaccess:agents_and_integrations:pa_uninstalling_the_rhel_agent
canonical_url: https://docs.pingidentity.com/pingaccess/9.0/agents_and_integrations/pa_uninstalling_the_rhel_agent.html
revdate: July 28, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
  example: Example:
  example-2: Example:
  example-3: Example:
  example-4: Example:
---

# Uninstalling the RHEL agent

Remove the PingAccess agent from a RHEL system.

## About this task

* If you installed the PingAccess agent using the standard installation process, uninstall it with the following command:

  ```
  sudo yum remove pingaccess-agent*.x86_64
  ```

* If you installed the PingAccess agent manually with an IBM HTTP Server, uninstall it with the following procedure:

## Steps

1. Remove the `$APACHE/conf/agent.properties` file.

   ### Example:

   ```
   rm $APACHE/conf/agent.properties
   ```

2. Remove the following directive from the Apache configuration file, `$APACHE/conf/httpd.conf`.

   ### Example:

   ```
   Include conf/10-paa.conf
   ```

3. Remove `10-paa.conf` from the `$APACHE/modules` directory.

   ### Example:

   ```
   rm $APACHE/modules/10-paa.conf
   ```

4. Remove all `.so` files from the `$APACHE/modules` directory.

   ### Example:

   ```
   rm $APACHE/modules/.so
   ```

5. Restart the Apache service with the `apachectl restart` command.
