Sophos Antivirus Linux Uninstall

How to Uninstall Sophos Antivirus Linux?

Sophos Antivirus is a security application that protects your device from unknown threats such as malware, spyware, and ransomware. Uninstalling it makes your device vulnerable to threats. If you are getting problems while using the Sophos Antivirus software on your Linux device, then you can remove it and install new security software. To Sophos Antivirus Linux Uninstall on your Linux, carry out the steps mentioned below.

  • Make sure that you log in with administrator rights.
  • Open the Terminalapp and begin the uninstallation process by typing the “/opt/sophos-av/” command.
  • This will delete the entries of the Sophos Antivirus software on your Linux device from the system startup.
  • The uninstall script removes Sophos Antivirus for Linux man pages in /usr/share/man.
  • It also deletes the savscan on-demand scanner in “/usr/local/bin” and /opt/sophos-avalong with all its contents.
  • Once the standard uninstaller removes the Sophos Antivirus software, reboot your PC and check if it had removedthe antivirus entirely from your device.
  • If you aren’t able to Sophos Antivirus Linux Uninstall software on your Linux, then you need to uninstall it manually.
Sophos Antivirus Linux Uninstall

Carry out these steps to manually uninstall Sophos Antivirus on your Linux:

  • Launch the Terminal app and use these commands to stop the Sophos services first.
  • Enter the “/etc/init.d/sav-protect stop” command.
  • Enter the “/etc/init.d/sav-rms stop” command.
  • Enter the “systemctl stop sav-protect” command.
  • Enter the “systemctl stop sav-rms” command.
  • Enter the “stop sav-protect (on upstart systems)” command.
  • Enter the “stop sav-rms (on upstart systems)” command.
  • Enter the “svcadm disable sav-protect” command.
  • Enter the “svcadm disable sav-rms” command.
  • Next, you need to remove the upstart configuration using the “rm -fv /etc/init/ {sav-protect, sav-rms, sav-update}.conf” command.
  • If necessary, remove the systemct configuration, SVC configuration, and SysV & compatibility scripts.
  • Now, remove savscan/sweep symlinks using the “rm -fv /usr/local/bin/ {savscan,sweep} /usr/bin/{savscan,sweep}” command.
  • Next, remove and Sophos Antivirus Linux Uninstall the man-pages using the “rm -fv /usr/local/share/man/man1/savscan.1” command.
  • Finally, remove the installation directory using the “rm -rf /opt/sophos -av” command.