Uninstall the agent
If you want to remove the Patchdeck agent from a system it is recommended to use the built-in uninstall functionality. This ensures that all services connected with the agent are correctly stopped and uninstalled.
To uninstall the agent follow these steps depending on your operating system:
Windows
- Open a Powershell session as an administrator and change into the directory “C:/Program Files/PatchdeckWindowsAgent”
- Open the system center setting for configuring applications, select PatchdeckWindowsAgent and click “Uninstall”
Linux
- Open a Terminal session
- Run the command to uninstall the package:
- For Debian-based distributions:
sudo dpkg -r patchdeck-linux-agent
- For RedHat-based distributions:
sudo rpm -e patchdeck-linux-agent
- For Debian-based distributions:
- The agent is now uninstalled
Mac
- Open a Terminal session and change into the directory /opt/patchdeck-mac-agent
- Run the command:
sudo ./patchdeck-agent --uninstall
- The agent is now uninstalled and you can delete the directory /opt/patchdeck-mac-agent