3. Uninstall Regional Agent
Guide for regional-check-agent
, with explanations and extra cleanup options:
Stop and Disable the Service
sudo systemctl stop regional-check-agent
sudo systemctl disable regional-check-agent
stop
→ halts the running service.disable
→ prevents it from auto-starting at boot.
Uninstall Options
Remove Package (keep configs & logs)
sudo dpkg -r regional-check-agent
Uninstalls the binaries.
Keeps configuration files (often in
/etc/
regional-check-agent.service/
) and logs.Use this if you want to reinstall later without losing settings.
Purge Package (remove everything)
sudo dpkg --purge regional-check-agent
Removes binaries and configuration files.
Leaves nothing behind from the
.deb
package.Best choice for a clean uninstall.
Verify Removal
dpkg -l | grep regional-check-agent
If nothing shows up → package is gone.
If you see
rc
→ it was removed but config files are still present.
Optional: Clean Residual Data
If the agent stored runtime data or logs outside the package (common locations):
sudo rm -rf /var/lib/regional-check-agent
sudo rm -rf /var/log/regional-check-agent
After this, distributed-regional-check-agent
will be fully removed.
Last updated