Runtime Environments > Secure Agent installation in a local environment > Uninstalling the Secure Agent on Linux
  

Uninstalling the Secure Agent on Linux

You can uninstall the Secure Agent. You might uninstall the Secure Agent if you no longer want to run the Secure Agent on the machine or if you want to reinstall the Secure Agent.
Before you uninstall the Secure Agent, verify that no connection or task is configured to use it.
    1From the command line, navigate to the following directory:
    <Secure Agent installation directory>/apps/agentcore
    2Stop the Secure Agent Linux process by entering the following command:
    ./infaagent shutdown
    3To uninstall the Secure Agent, run rm -rf on the directory where you installed the Secure Agent to remove Secure Agent files.