Installing From the Repository

Native packages of Dr.Web for Linux 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 the same way you install any other programs from the operating system repositories. Required dependencies are automatically resolved. Futhermore, in this case an OS package manager detects updates for all Dr.Web components installed from the connected repository and suggests installing all detected updates.

To access the Dr.Web repository, internet access is required.

 

All the commands mentioned below, which are used to add repositories, import digital signature keys, install and uninstall packages, must be run with superuser privileges (usually, as the root user). To elevate your privileges, use the su command to change the current user or the sudo command to run the specified command as another user.

Steps below are for the following OSes (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)

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

# wget https://repo.drweb.com/drweb/drweb.gpg -O /etc/apt/trusted.gpg.d/drweb.gpg

The apt-key utility was used earlier to install the digital signature key from Doctor Web. This utility is deprecated and not recommended for usage. Furthermore, OS developers recommend using the /etc/apt/trusted.gpg.d directory instead of the /etc/apt/trusted.gpg file. For this reason, when you install Dr.Web for Linux from the repository, if the signature key is installed to the /etc/apt/trusted.gpg directory, the apt-get update command (see below) displays the following warning: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. At that, the installation of Dr.Web for Linux continues as usual and the product functionality is not affected. To avoid this warning while installing or reinstalling Doctor Web products, install the signature key as indicated above.

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

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

You can complete steps 1 and 2 by downloading and installing a dedicated DEB package at https://repo.drweb.com/drweb/drweb-repo11.1.deb.

3.To install Dr.Web for Linux from the repository, use the commands:

# apt-get update
# apt-get install drweb-workstations

You can also use alternative package managers (for example, Synaptic or aptitude) to install the product. Furthermore, 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 https://repo.drweb.com/drweb/altlinux 11.1/<arch> drweb

where <arch> represents the package architecture in use:

for the 32-bit version: i386;

for the AMD64 architecture: x86_64;

for the ARM64 architecture: aarch64;

for the E2K architecture: e2s;

for the IBM POWER (ppc64el) architecture: ppc64le.

2.To install Dr.Web for Linux from the repository, use the commands:

# apt-get update
# apt-get install drweb-workstations

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

Mageia, OpenMandriva Lx (urpmi)

1.Add the repository using the command:

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

where <arch> represents the package architecture in use:

for the 32-bit version: i386;

for the 64-bit version: x86_64.

2.To install Dr.Web for Linux from the repository, use the command:

# urpmi drweb-workstations

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

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

1.Add the drweb.repo file with the content provided 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 to write the content indicated above to a file using such command as echo with redirecting of an output, the $ symbol must be escaped: \$.

 

You can complete step 1 by downloading and installing a dedicated RPM package at https://repo.drweb.com/drweb/drweb-repo11.1.rpm.

2.To install Dr.Web for Linux from the repository, use the command:

# yum install drweb-workstations

On Fedora 22 and later, it is recommended to use the dnf manager instead of the yum manager, for example:

# dnf install drweb-workstations

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

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

2.To install Dr.Web for Linux from the repository, use the commands:

# zypper refresh
# zypper install drweb-workstations

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