How to uninstall MD ICAP Server on Linux completely

Below is the guideline to uninstall MD ICAP Server on Linux completely

Info

If you are using ignition file for installation (located in: /etc/opswat/mdicapsrv.conf) -> you must manage this file by yourself

Ubuntu/Debian

Step 1: Run below command for uninstall

sudo dpkg -r mdicapsrv

Step 2: Run below command to delete all relate artifact

sudo dpkg --purge mdicapsrv

RedHat/CentOS

Step 1: Run below command to uninstall

sudo yum remove mdicapsrv

Step 2: delete below path manually

sudo rm -rf /var/lib/mdicapsrv sudo rm -rf /usr/lib/mdicapsrv sudo rm -rf /var/log/mdicapsrv