Installing the Universal Package

The Dr.Web for UNIX Mail Servers universal package is distributed as an installation file named drweb-<version>-av-mail-<OS>-<platform>.run, where <OS> is a UNIX-like OS, <platform> is the platform for which Dr.Web for UNIX Mail Servers is intended (x86 for 32-bit platforms, amd64, arm64, e2s and ppc64el for 64-bit platforms), for example:

drweb-11.1.0-av-mail-linux-amd64.run

The installation file name corresponding to the above-mentioned format is referred to as <file_name>.run below in this section.

To install Dr.Web for UNIX Mail Servers components

1.If you do not have the installation file containing the universal package, download it from the Doctor Web official website: https://download.drweb.com/.

2.Save the installation file to the hard disk drive of your computer.

3.Allow the file to be run, for example, by using the command:

# chmod +x <file_name>.run

4.Run it with the following command:

# ./<file_name>.run

or use a standard file manager of your graphical shell for both changing the file properties (permissions) and running the file.First, an integrity check of the archive is run, after which the archived files are unpacked to a temporary directory and the installer program is started. If the installer is started without root privileges, it attempts to elevate its privileges asking you for the root password (the sudo utility is used). If the attempt fails, the installation process aborts.

If the file system partition containing the temporary directory has not enough free space for the unpacked files, the installation process is aborted and a corresponding message is displayed. In this case, change the value of the TMPDIR system environment variable so that it points to a directory located on a partition with enough free space and restart the installation. You can also use the --target option to set the target directory (for more details, see the Custom Installation and Uninstallation of Components section).

After that the installer for the command-line mode is automatically started (to run it in a graphical desktop environment, you need any terminal emulator).

5.Follow the installer instructions.

6.You can also start the installer in a silent mode by running the command:

# ./<file_name>.run -- --non-interactive

In this case the installer is started in the silent mode and will operate without a user interface (this means it also will not have any dialogs that are normally displayed in the command-line mode).

Using this option means that you accept the terms of the Dr.Web License Agreement. After installing Dr.Web for UNIX Mail Servers, you can find the License Agreement text in the file /opt/drweb.com/share/doc/LICENSE (for GNU/Linux) or /usr/local/libexec/drweb.com/share/doc/LICENSE (for FreeBSD). The file extension indicates the language of the License Agreement. The LICENSE file (without any extension) stores the Dr.Web License Agreement in English. If you do not accept the terms of the License Agreement, you must uninstall Dr.Web for UNIX Mail Servers after its installation.

 

Superuser (the root user) privileges are required to start the installer in silent mode. To elevate your privileges, use the su or sudo command.

If the GNU/Linux distribution you use features the SELinux security subsystem, it can interrupt the installation process. If such situation occurs, temporarily set SELinux to the Permissive mode. To do this, run the following command:

# setenforce 0

Restart the installer afterwards. After the installation completes, configure SELinux security policies to enable correct operation of the anti-virus components.

All unpacked installation files are deleted once the installation process completes.

It is recommended that you save the <file_name>.run file, from which the installation was performed, to reinstall Dr.Web for UNIX Mail Servers or its components without the need to update its version.