---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Uninstall Agent Client Collector from a Linux system

# Uninstall Agent Client Collector from a Linux
system {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Uninstall the Agent Client Collector from a Linux machine manually if
the command script is unavailable due to the specific agent not being connected to the
instance.

## Before you begin

Role required: agent_client_collector_admin

## About this task

By default, an uninstalled agent is removed from the system after 30 days. To modify
this amount of time, update the sn_agent_ci_extended_info
table, accessible from the Auto Flushes page (enter
sys_auto_flush.LIST into the instance's search filter
field).

## Procedure

1. Stop the service.  
   `sudo systemctl stop acc`
2. Use the relevant package management tool to remove the service.  
   * yum remove agent-client-collector
   * apt-get remove agent-client-collector
   * zypper remove agent-client-collector

   {#acc-linux-uninstall__ul_ipz_yzq_pvb}

   Alternatively, you can run one of the following commands, based on the OS in
   use.
   * `rpm -e agent-client-collector`
   * `dpkg -r agent-client-collector`
   {#acc-linux-uninstall__ul_ulh_q1r_pvb}
3. If you ran either the `rpm` or `dpkg` command, remove any remaining files from your system.  

       # userdel -r servicenow
       # groupdel servicenow
       # rm -R /{etc,var/cache,var/log,usr/share}/servicenow/agent-client-collector

   Warning:  
   Do not use the command rm -Rf, as this can cause data loss.

