6. Removal of Dr.Web for Linux

Deinstallation procedure for Dr.Web for Linux can be carried out in the following ways:

via uninstall GUI;
via interactive uninstall console script.

In the process of deinstallation dependencies are supported, both for graphical uninstaller and console uninstaller.

To remove all the components of Dr.Web for Linux solution via the uninstall GUI, select the Removal of Dr.Web for Linux option from the Applications -> Dr.Web menu or initialize it with the following command:

# /opt/drweb/remove.sh

If initialization has been performed without root privileges, then uninstall GUI will try to gain appropriate privileges by itself.

If the uninstall GUI has failed to start, then interactive uninstall script will be automatically initialized in console.

After deinstallation you can also remove drweb user and drweb group from your system.

During the deinstallation the following processes take place:

original configuration files are removed from the /etc/drweb/software/conf/ directory;
if operational copies of configuration files were not modified by the user, they are also removed. If the user has made any changes to them, they will be preserved;
other files are removed. If during the installation a <file_name>.O copy of some old file has been created, this file will be restored under the name it had before the installation;
license key files and log files are preserved in corresponding directories;
the contents of the ~/.drweb directory is also preserved (the user may delete it manually).

For operation according to schedules Dr.Web for Linux turns to user cron. At startup and after registration of Dr.Web for Linux an entry is made to the user crontab about periodicity of Updater operation. It looks like the following:

 

*/30 * * * * sh -c "(/opt/drweb/scripts/drweb-cc/update.sh 2>&1)>>/home/user/.drweb/crontab-updater.log"

Scanner schedule entry to the crontab will made only after the corresponding function is enabled in Settings section of Dr.Web for Linux. It may look like the following:

 

0 9 * * * sh -c "(DISPLAY=:0.0/opt/drweb/scripts/drweb-cc/start-scanning.sh 2>&1)>>/home/user/.drweb/crontab-scan.log"

When you uninstall the Dr.Web for Linux, corresponding entries in the user crontab are not removed automatically and have to be deleted manually.