Installing from the Repository

Dr.Web for UNIX Mail Servers native packages are stored in the Dr.Web official repository at https://repo.drweb.com/. Once you have added the Dr.Web repository to the list of those used by your operating system package manager, you can install the product from native packages as you install any other programs from the operating system repositories. Required dependencies are automatically resolved.

All the commands mentioned below—the commands used to add repositories, to import digital signature keys, to install and remove packages—must be performed with superuser (root) privileges. To elevate the privileges, use the su command (to change the current user) or the sudo command (to execute the specified command with another user’s privileges).

 

For the FreeBSD OS, Dr.Web for UNIX Mail Servers can be installed only from the universal package.

See below the procedures for the following OS (package managers):

Debian, Mint, Ubuntu (apt),

ALT Linux, PCLinuxOS (apt-rpm),

Mageia, OpenMandriva Lx (urpmi),

Red Hat Enterprise Linux, Fedora, CentOS (yum, dnf),

SUSE Linux (zypper).

Debian, Mint, Ubuntu (apt)

To install Dr.Web for UNIX Mail Servers from the repository

1.The repository for these operating systems is digitally signed by Doctor Web. To access the repository, import and add to the package manager storage the digital signature key via execution of the command:

# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8C42FC58D8752769

2.To add the repository, add the following line to the /etc/apt/sources.list file:

deb http://repo.drweb.com/drweb/debian 11.1 non-free

Besides, you can execute items 1 and 2 by downloading from the repository and installing a special DEB package https://repo.drweb.com/drweb/drweb-repo11.1.deb.

3.To install Dr.Web for UNIX Mail Servers from the repository, use the commands:

# apt-get update
# apt-get install drweb-mail-servers

You can also use alternative package managers (for example, Synaptic or aptitude) to install the product. Moreover, it is recommended to use alternative managers, such as aptitude, to solve a package conflict if it occurs.

ALT Linux, PCLinuxOS (apt-rpm)

To install Dr.Web for UNIX Mail Servers from the repository

1.To add the repository, add the following line to the /etc/apt/sources.list file:

rpm http://repo.drweb.com/drweb/altlinux 11.1/<arch> drweb

where <arch>—representation of the package architecture:

for the 32-bit version: i386;

for the AMD64 architecture: x86_64;

for the ARM64 architecture: aarch64;

for the E2K architecture: e2s.

2.To install Dr.Web for UNIX Mail Servers from the repository, use the commands:

# apt-get update
# apt-get install drweb-mail-servers

You can also use alternative package managers (for example, Synaptic or aptitude) to install the product.

Mageia, OpenMandriva Lx (urpmi)

To install Dr.Web for UNIX Mail Servers from the repository

1.Connect the repository using the command:

# urpmi.addmedia drweb https://repo.drweb.com/drweb/linux/11.1/<arch>/

where <arch>—representation of the package architecture:

for the 32-bit version: i386;

for the 64-bit version: x86_64.

2.To install Dr.Web for UNIX Mail Servers from the repository, use the command:

# urpmi drweb-mail-servers

You can also use alternative package managers (for example, rpmdrake) to install the product.

Red Hat Enterprise Linux, Fedora, CentOS (yum, dnf)

To install Dr.Web for UNIX Mail Servers from the repository

1.Add a file drweb.repo with the contents described below to the /etc/yum.repos.d directory:

[drweb]
name=DrWeb-11.1
baseurl=https://repo.drweb.com/drweb/linux/11.1/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://repo.drweb.com/drweb/drweb.key

If you plan on logging the indicated above contents to a file using such commands as echo with redirecting of an output, a symbol $ must be escaped: \$.

 

Besides, you can execute item 1 by downloading from the repository and installing a special RPM package https://repo.drweb.com/drweb/drweb-repo11.1.rpm.

2.To install Dr.Web for UNIX Mail Servers from the repository, use the command:

# yum install drweb-mail-servers

In the Fedora operating system, starting from version 22, it is recommended that instead of manager yum the manager dnf is used, for example:

# dnf install drweb-mail-servers

You can also use alternative package managers (for example, PackageKit or Yumex) to install the product.

SUSE Linux (zypper)

To install Dr.Web for UNIX Mail Servers from the repository

1.To add the repository, use the command:

# zypper ar https://repo.drweb.com/drweb/linux/11.1/\$basearch/ drweb

2.To install Dr.Web for UNIX Mail Servers from the repository, use the commands:

# zypper refresh
# zypper install drweb-mail-servers

You can also use alternative package managers (for example, YaST) to install the product.