Upgrading to a Newer Version

In this section

Introductory remarks

Upgrading previous versions

Upgrading by installing a universal package

Upgrading from the repository

Key file transfer

Restoring connection to a centralized protection server

Aspects of the upgrading procedure

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 determine how the version of Dr.Web Industrial for Linux to be updated was installed, check whether the Dr.Web Industrial for Linux executable directory contains the 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, run the 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

Upgrading by installing a universal package

Install the new version of 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 installed from the repository of Doctor Web

Depending on the type of packages in use, do the following:

In case of using RPM packages (yum, dnf):

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 by running the 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 by running the commands:

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

Key file transfer

Regardless of the selected method to upgrade Dr.Web Industrial for Linux, your current license key file will be automatically transferred to a proper location required by the new 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 directory /etc/opt/drweb.com/. If the valid license key file is lost, contact the Doctor Web technical support.

Restoring connection to a 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 reestablish 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.

Run the command:

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

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

Aspects of the 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.