User Guide
Installation and Uninstallation of Kaspersky Anti-Virus 25
3.6. Software uninstall
To uninstall Kaspersky Anti-Virus previously installed from a package you should
issue the following command:
• In order to remove Kaspersky Anti-Virus installed from a rpm package,
enter the following text in the command line:
# rpm -e <package_name>
• In order to remove Kaspersky Anti-Virus installed from a deb package,
enter the following text in the command line:
# dpkg –r <package_name>
To uninstall Kaspersky Anti-Virus from server running under OS Unix (FreeBSD
or OpenBSD) enter the following text in the command line:
# pkg_delete <package_name>
3.7. Uninstallation process
The procedure for uninstalling Kaspersky Anti-Virus
is automatic, not interactive
and contains the following steps:
1. Removing the cron task of checking the backup storage from the
list of tasks for the kav user.
2. Removing the cron task for updating the anti-virus database and
anti-virus kernel modules from the list of tasks for the kav user.
3. Rolling back the Sendmail configuration changes you made to
integrate it with the anti-virus filter. Restart the mail system to make
the previous configuration effective.
4. Stopping the kavmilterd service. From this moment, anti-virus
filtration of mail traffic will be disabled.
5. Rolling back the registration of the kavmilterd service in the system:
in Sys V systems, the links to the rc.d must be removed; in
FreeBSD-based systems, the links to a script corresponding to this
service are removed, in OpenBSD-based systems, the rc.local file
should be edited.
6. Rolling back the registration of Kaspersky Anti-Virus application
with the system: the corresponding section is removed from
/var/db/kav/applications.setup.
7. Deleting the kav user from the system.










