Upgrading to a Newer Version

Introductory Remarks

The upgrade procedure for previous Dr.Web for Linux versions to version 11.1 is supported. Please note that your version of Dr.Web for Linux should be upgraded the same way as it was used during the installation:

If the current Dr.Web for Linux version was installed from the repository, an upgrade requires updating program packages from the repository.

If the current Dr.Web for Linux version was installed from the universal package, then to upgrade the product, you need to install another universal package that contains a newer version.

To identify how the product version was installed, check whether the Dr.Web for Linux executable directory contains remove.sh program uninstallation script. If so, the current version was installed from the universal package; otherwise it was installed from the repository.

If you cannot update the product the way you installed it initially, uninstall your current version of Dr.Web for Linux, and then install a new version using any convenient method. Installation and uninstallation procedures for previous Dr.Web for Linux versions are the same as installation and uninstallation described in the current manual for version 11.1. For additional information, see User manual for your current version of Dr.Web for Linux.

Note that upgrade of Dr.Web for Linux from version 6.0.2 to version 11.1 can be performed only by uninstalling the outdated Dr.Web for Linux and installing the version 11.1.

If the current version of Dr.Web for Linux is operating in the centralized protection mode, it is recommended that you record the address of the centralized protection server. For example, to determine the address to which Dr.Web for Linux of the version higher than 6.0.2, you can use the following command:

$ drweb-ctl appinfo

in the output provided by this command, from the line

ESAgent; <PID>; RUNNING 1; Connected <address>, on-line

save the <address> part (which can look like tcp://<IP address>:<port>, for example: tcp://10.20.30.40:1234). In addition, it is recommended that you save the server certificate file.

In case there are any problems with finding out the parameters of the connection that you are currently using, refer to the Administrator Manual for the Dr.Web for Linux version that you are currently using and to the administrator of your anti-virus network.

Upgrading Version 9.0 and Higher

Installing Universal Package for an Upgrade

Install Dr.Web for Linux 11.1 from the installation file. If necessary, during the installation you are prompted to automatically uninstall the older version installed from the distribution.

Upgrading from the Repository

To upgrade your current version of Dr.Web for Linux that was installed from the Doctor Web repository, do one of the following, depending on the required type of packages:

In case of using RPM packages (yum):

1.Change the repository (from the package repository of your current version to the package repository 11.1).

You can find the name of the repository in the Installing from the Repository section. For details on how to change repositories, refer to help guides of your operating system distribution.

2.Install the new version using the following command:

# yum update

or, if the manager dnf is used (similar to the Fedora OS of the version 22 and earlier):

# dnf update

If during the update of packages there is an error, uninstall and repeat the installation of Dr.Web for Linux. If necessary, see sections Uninstallation of Dr.Web for Linux installed from the repository and Installing from the Repository (items for the OS and the package manager that you are using).

In case of using DEB packages (apt-get):

1.Change the repository (from the package repository of your current version to the package repository 11.1).

2.Upgrade the Dr.Web for Linux packages by entering the following commands:

# apt-get update
# apt-get dist-upgrade

Please note that for the Ubuntu 14.04 (64-bit version) OS, the apt-get dist-upgrade command may fail. In this case use the aptitude package manager (to upgrade the product, issue the aptitude dist-upgrade command).

Key File Transfer

Regardless of the selected method to upgrade Dr.Web for Linux, the license key file is installed to the default location automatically.

If any problem occurs during automatic installation of the key file, you can install it manually. The license key file of Dr.Web for Linux version 9.0 and older resides in the directory /etc/opt/drweb.com. If a valid license key file is lost, contact Doctor Web technical support.

Restoring Connection to the Centralized Protection Server

If possible, after upgrading Dr.Web for Linux, if the upgraded version was connected to the centralized protection server, the connection is re-established automatically. If not, you can use any of the following ways (note that you should specify the saved address and server public key file) to connect the upgraded Dr.Web for Linux version to the anti-virus network:

Select the check box on the Mode tab of the Dr.Web for Linux settings window.

Use the command:

$ drweb-ctl esconnect <address> --Certificate <path to the server certificate file>

In case there are any problems with the connection process, contact the administrator of your anti-virus network.

Upgrading Procedure Features

If your current version of Dr.Web for Linux is active when upgrading the product from the repository, processes of the older version remain running until the user logs off the system after the upgrade is complete. At that, if Dr.Web for Linux is operating in graphical mode, the icon of the older version can display in the notification area.

After upgrading Dr.Web for Linux, SpIDer Gate settings may be reset to default values.

If a mail client using IMAP for receiving messages (for instance, Mozilla Thunderbird) is running on your system, restart it after the antivirus is installed so that incoming email messages could be scanned.

Upgrading Version 6.0.2 and Older

Upgrade of Dr.Web for Linux from version 6.0.2 and older to version 11.1 can be performed only by uninstalling the outdated Dr.Web for Linux version and installing version 11.1. For additional information how to uninstall the old version, see User manual for your installed version of Dr.Web for Linux.

Key File Transfer

After upgrading Dr.Web for Linux, the license key file is not installed automatically to the default location, but you can install it manually. The license key file of Dr.Web for Linux 6.0.2 and older, resides in the directory /home/<user>/.drweb (the directory is hidden). If a valid license key file is lost, contact Doctor Web technical support.

Dr.Web for Linux 11.1 does not support Version of Dr.Web for Linux 9.0 and older! If any isolated files remain in quarantine of an older version, you can retrieve or delete these files manually. Dr.Web for Linux 6.0.2 (and lower) uses as quarantine the following directories:

/var/drweb/infected—system quarantine;

/home/<user>/.drweb/quarantine—user quarantine (where <user> is user name).

To simplify processing of quarantined files, it is recommended to revise quarantine using old version of Dr.Web for Linux before starting an upgrade.