Upgrading to a Newer Version

Introductory Remarks

The upgrade procedure for Dr.Web Industrial for Linux of earlier versions to a newer version is supported. Migrate to the newer version of Dr.Web Industrial for Linux in the same way the earlier version of Dr.Web Industrial for Linux was installed:

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

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

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

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

If the version of Dr.Web Industrial for Linux to be updated is controlled by a centralized protection server, it is recommended that you save the address of this server. For example, to determine the address of the centralized protection server to which Dr.Web Industrial for Linux is connected, use the following command:

$ drweb-ctl appinfo

in the output provided by this command, from the line like

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 of any difficulties with finding out the parameters of the current connection, refer to the Administrator Manual for the installed version of Dr.Web Industrial for Linux and to the administrator of your anti-virus network.

Upgrading Previous Versions

Installing Universal Package as an Upgrade

Install Dr.Web Industrial for Linux from the universal package. If necessary, during the installation you will be prompted to automatically uninstall installed components of the older version of Dr.Web Industrial for Linux.

Upgrading from the Repository

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

In case of using RPM packages (yum):

1.Change the repository in use (switch from the package repository of your current version to the package repository of the new version).

You can find the name of the repository storing the packages of the new version in the Installing from the Repository section. For details on how to switch between repositories, refer to help guides of your distribution.

2.Install the new version of Dr.Web Industrial for Linux from the repository using the following command:

# yum update

or, if the dnf manager is used (such as on Fedora 22 and later):

# dnf update

If an error has occurred while updating the packages, uninstall and reinstall Dr.Web Industrial for Linux. If necessary, see sections Uninstallation of Dr.Web Industrial for Linux Installed from the Repository and Installing from the Repository (paragraphs related to your OS and package manager).

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

1.Change the repository in use (switch from the package repository of your current version to the package repository of the new version).

2.Update the packages of Dr.Web Industrial for Linux with the following commands:

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

Key File Transfer

Regardless of the selected method to update Dr.Web Industrial for Linux, your license key file is installed to the appropriate location automatically to be used by the newer version of Dr.Web Industrial for Linux.

If any issue occurs during automatic installation of the key file, you can install it manually. The license key file of Dr.Web Industrial for Linux is stored in the /etc/opt/drweb.com directory. If the valid license key file is lost, contact the Doctor Web technical support.

Restoring Connection to the Centralized Protection Server

If possible, your connection to a centralized protection server will be restored automatically after the upgrade (if the version to be upgraded was connected to the centralized protection server). In case the connection has not been automatically restored, to re-establish the connection of the upgraded version of Dr.Web Industrial for Linux to the anti-virus network, use one of the following methods:

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

Use the command:

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

These actions require providing an address and a server public key file stored in advance.

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

Aspects of Upgrading Procedure

If your current version of Dr.Web Industrial for Linux is active while upgrading the product from the repository, after installing the packages of the newer version of Dr.Web Industrial for Linux, the processes of the earlier version of Dr.Web Industrial for Linux remain running until the user logs off the system. At that, if Dr.Web Industrial for Linux is operating in graphical mode, the icon of the earlier version can be displayed in the notification area.