You can use this procedure to uninstall a Linux Sensor from an endpoint.
Note: After you run the command, the sensor remains listed in the Registered Devices list on the Endpoints page in the console until you click Take Action > Uninstall.
Run the following command:
- For CentOS, RHEL, SUSE, Oracle Linux, Rocky Linux, or Amazon Linux:
$ sudo rpm -e cb-psc-sensor
- For Ubuntu or Debian:
$ sudo dpkg --purge cb-psc-sensor
Note: After you uninstall the Linux sensor on the following OS distributions: CentOS, RHEL, Suse, Amazon Linux, the sensor log files together with a copy of cfg.ini and directories such as /opt/carbonblack and /var/opt/carbonblack are not deleted from the endpoint.