Installation from universal package

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 type of UNIX-like OS, <Platform> is the platform for which Dr.Web for UNIX Mail Servers is intended (for 32-bit platformsx86, for 64-bit platformsamd64, arm64 and e2s). For example:

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:

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

3.Allow the archive to be executed, for example, by using the command:

# chmod +x <file_name>.run

4.Execute the archive using the command:

# ./<file_name>.run

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

If the path to the temporary directory in the file system has not enough free space for the unpacked files, the installation process is aborted and an appropriate message is displayed. In this case, change the value of the TMPDIR system environment variable so that it points to a directory with enough free space and repeat the installation. You can also use the --target option.

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 installation program in a silent mode by executing the command:

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

In this case the installation program 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. The License Agreement text is located in the /opt/ file. The file extension indicates the language of the License Agreement. If the LICENSE file does not have any extension, the Dr.Web License Agreement is written in English. If you do not accept the terms of the License Agreement, uninstall Dr.Web for UNIX Mail Servers after its installation.


Administrative (root) privileges are required to start the uninstall program in silent mode. To elevate the privileges, you can use the su and sudo commands.

If your GNU/Linux distribution features SELinux, the installation process can be interrupted by the security subsystem. If such a situation occurs, set SELinux to the Permissive mode with the command:

# setenforce 0

And restart the installer. After the installation completes, configure SELinux security policies to enable correct operation of the product components.


For details on conventions for <opt_dir>, <etc_dir>, and <var_dir>, refer to the Introduction.

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.