Installing from Repository

Top  Previous  Next

Dr.Web for UNIX Mail Servers‘s 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’s package manager, you can install the product from native packages as you install any other programs from the operating system’s 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).

 

Note that for the FreeBSD and Solaris operating systems, the product can be installed only from the universal package.

Debian, Mint, Ubuntu (apt)

The Dr.Web for UNIX Mail Servers anti-virus engine uses a 32-bit architecture x86; in 64-bit systems Debian, Mint, Ubuntu (for platforms x86-64, x64, amd64), a permission could be required for installation of packages for the platform x86. It could be obtained via the following command:

# dpkg --add-architecture i386

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 following command:

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

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

deb http://repo.drweb.com/drweb/debian 11.0 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-repo11.deb.

3. To install Dr.Web for UNIX Mail Servers from the repository, use the following 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)

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

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

where <arch>—representation of the used packet architecture:

For the 32-bit version: i386

For 64-bit version: x86_64

2. To install Dr.Web for UNIX Mail Servers from the repository, use the following 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)

1. Connect the repository using the following command:

# urpmi.addmedia drweb https://repo.drweb.com/drweb/mandriva/11.0/<arch>/

where <arch>—representation of the used packet architecture:

For the 32-bit version: i386

For 64-bit version: x86_64

3. To install Dr.Web for UNIX Mail Servers from the repository, use the following 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)

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

[drweb]
name=DrWeb - 11.0
baseurl=https://repo.drweb.com/drweb/el5/11.0/$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-repo11.rpm.

2. To install Dr.Web for UNIX Mail Servers from the repository, use the following 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)

1. To add the repository, use the following command:

# zypper ar -t YUM 'https://repo.drweb.com/drweb/el5/11.0/$basearch/' drweb

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

# zypper refresh
# zypper install drweb-mail-servers

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