Finding Resources

The utility file name is generated as follows: drweb-mirror-<version>-<OS>-<architecture>, for example, drweb-mirror-1.0-linux-amd64 or drweb-mirror-1.0-freebsd-x86. In the case of macOS, since the executable file is a multi-arch application, an architecture is not indicated in the file name: drweb-mirror-1.0-macos.

Typical paths of the required resources are provided below.

Resources

OSes of the GNU/Linux family

FreeBSD

macOS

Key file

/etc/opt/drweb.com/drweb32.key

/usr/local/etc/drweb.com/drweb32.key

/Library/Application Support/DrWeb/keys/drweb32.key

Directory with resource files for virus databases

/var/opt/drweb.com/drl/bases

/var/drweb.com/drl/bases

For systems based on the AArch64 architecture:

/Library/Application Support/DrWeb/var/drl/bases/aarch64

For systems based on the x86_64 architecture:

/Library/Application Support/DrWeb/var/drl/bases/x86_64

Directory with resource files for antispam databases

/var/opt/drweb.com/drl/antispam

/var/drweb.com/drl/antispam

Not applicable

Directory with resource files for unwanted website databases

/var/opt/drweb.com/drl/dws

/var/drweb.com/drl/dws

/Library/Application Support/DrWeb/dws

Each directory indicated in the table contains zone.ini and update.drl files, one of which should be copied (together with the key file) to the computer for downloading updates.

To determine actual paths to directories with resource files for databases, run the following commands:

for virus databases:

$ drweb-ctl cfshow Update.BaseDrlDir

for antispam databases:

$ drweb-ctl cfshow Update.AntispamDrlDir

for unwanted website databases:

$ drweb-ctl cfshow Update.DwsDrlDir