Installing from Native Packages

You can install Dr.Web for UNIX mail servers from native packages for common Linux distributions or FreeBSD operating system.

All packages are located in the Dr.Web official repository http://officeshield.drweb.com/drweb/. Once you added the repository to the package manager of your system, you can install, update or remove necessary packages like any other program from repository. All dependencies are resolved automatically.

Внимание!

After installing packages from repository, automatic post-install script for installing license key file is not initiated. Licence key file must be manually copied to %bin_dir.

For the updates to take effect, you need to restart all Dr.Web services after updating from repository.

Depending on required solution, replace <package name> in commands below with one of the following packages:

drweb-mail-gateways-asDr.Web Anti-spam for UNIX Mail Gateways;

drweb-mail-gateways-av Dr.Web Anti-virus for UNIX Mail Gateways;

drweb-mail-gateways-av-as Dr.Web Anti-virus and Anti-spam for UNIX Mail Gateways;

drweb-courier-as Dr.Web Anti-spam for Courier Mail Servers;

drweb-courier-av Dr.Web Anti-virus for Courier Mail Servers;

drweb-courier-av-as Dr.Web Anti-virus and Anti-spam for Courier Mail Servers;

drweb-postfix-as Dr.Web Anti-spam for Postfix Mail Servers;

drweb-postfix-av Dr.Web Anti-virus for Postfix Mail Servers;

drweb-postfix-av-as Dr.Web Anti-virus and Anti-spam for Postfix Mail Servers;

drweb-qmail-as Dr.Web Anti-spam for Qmail Mail Servers;

drweb-qmail-av Dr.Web Anti-virus for Qmail Mail Servers;

drweb-qmail-av-as Dr.Web Anti-virus and Anti-spam for Qmail Mail Servers;

drweb-sendmail-as Dr.Web Anti-spam for Sendmail Mail Servers;

drweb-sendmail-av Dr.Web Anti-virus for Sendmail Mail Servers;

drweb-sendmail-av-as Dr.Web Anti-virus and Anti-spam for Sendmail Mail Servers;

drweb-cgp-as Dr.Web Anti-spam for CommuniGate Pro Mail Servers;

drweb-cgp-av Dr.Web Anti-virus  for CommuniGate Pro Mail Servers;

drweb-cgp-av-as Dr.Web Anti-virus and Anti-spam for CommuniGate Pro Mail Servers;

drweb-exim-as Dr.Web Anti-spam for Exim Mail Servers;

drweb-exim-av Dr.Web Anti-virus for Exim Mail Servers;

drweb-exim-av-as Dr.Web Anti-virus and Anti-spam for Exim Mail Servers;

drweb-zmailer-as Dr.Web Anti-spam for ZMailer Mail Servers;

drweb-zmailer-av Dr.Web Anti-virus for ZMailer Mail Servers;

drweb-zmailer-av-as Dr.Web Anti-virus and Anti-spam for ZMailer Mail Servers.

Внимание!

All the following commands to add repositories, import keys, install and remove packages must be run with administrator privileges (root).

If it is necessary, use the sudo or su commands.

Debian, Ubuntu (apt)

1. Installation:

Debian repository is signed with the digital key. It is necessary to import the key or correct operation. To do this, use the following command

wget -O - httwp://officeshield.drweb.com/drweb/drweb.key | apt-key add -

or

curl http://officeshield.drweb.com/drweb/drweb.key | apt-key add -

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

deb http://officeshield.drweb.com/drweb/debian stable non-free

To install Dr.Web for UNIX mail servers, use the following commands:

apt-get update
apt-get install <package name>

2. Deinstallation:

To remove Dr.Web for UNIX mail servers, use the following command:

apt-get remove <package name>

To remove all installed packages from Dr.Web, use the following command (in some systems, it is required to escape the '*' character with a backslash: '\*'):

apt-get remove drweb*

To automatically remove unused packages from the system,  use the following command:

apt-get autoremove

Внимание!

Removal with the use of apt-get has the following features:

1.The first variant of the command removes only the <package name> package, but other packages (which could be automatically installed on the package installation to resolve dependences) remain in the system.

2.The second variant of the command removes from the system all packages which names start with 'drweb' (this is a standard pattern for a Dr.Web package name). Please note that this command removes from the system all packages which name corresponds to the pattern, not only those of Dr.Web for UNIX mail servers.

3.The third variant of the command removes from the system all unused packages which were automatically installed for resolving dependences of some removed packages. Please note that this command removes all unused packages from the system, not only those of Dr.Web for UNIX mail servers.

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

ALT Linux, PCLinuxOS (apt-rpm)

1. Installation:

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

32-bit version:

rpm http://officeshield.drweb.com/drweb/altlinux stable/i386 drweb

64-bit version:

rpm http://officeshield.drweb.com/drweb/altlinux stable/x86_64 drweb

To install Dr.Web for UNIX mail servers:

apt-get update
apt-get install <package name>

2. Uninstallation:

In this case, uninstallation process is the same as for Debian and Ubuntu (see above).

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

Mandriva (urpmi)

1. Installation:

Download a repository key from http://officeshield.drweb.com/drweb/drweb.key and save it to the disk. After that, import the key with the following command:

rpm --import <path to repository key>

Open the following file:

or

After you open a file, you will be offered to add a repository to the system.

Alternatively, you can add the repository via console using one of the following commands:

urpmi.addmedia drweb http://officeshield.drweb.com/drweb/mandriva/stable/i386/

or

urpmi.addmedia drweb http://officeshield.drweb.com/drweb/mandriva/stable/x86_64/

To install Dr.Web for UNIX mail servers:

urpmi.update drweb
urpmi <package name>

2. Deinstallation:

To remove Dr.Web for UNIX mail servers:

urpme <package name>

To automatically remove unused packages from the system:

urpme --auto-orphans <package name>

Внимание!

Removal with the use of urpme has the following features:

1.The first variant the command removes only the <package name> package, but other packages (which could be automatically installed on the package installation to resolve dependences) remain in the system.

2.The second variant of the command removes the <package name> package and all unused packages, which were automatically installed to resolve dependences of some removed packages. Please note that this command removes all unused packages from the system, not only those of Dr.Web for UNIX mail servers.

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

Red Hat Enterprise Linux, Fedora, CentOS (yum)

1. Installation:

Add to the /etc/yum.repos.d directory the file with following content:

32-bit version:

[drweb]
name=DrWeb - stable
baseurl=http://officeshield.drweb.com/drweb/el5/stable/i386/
gpgcheck=1
enabled=1
gpgkey=http://officeshield.drweb.com/drweb/drweb.key

64-bit version:

[drweb]
name=DrWeb - stable
baseurl=http://officeshield.drweb.com/drweb/el5/stable/x86_64/
gpgcheck=1
enabled=1
gpgkey=http://officeshield.drweb.com/drweb/drweb.key

To install Dr.Web for UNIX mail servers:

yum install <package name>

2. Deinstallation:

To remove Dr.Web for UNIX mail servers:

yum remove <package name>

To remove all installed packages from Dr.Web, use the following command (in some systems, it is required to escape the '*' character with a backslash: '\*'):

yum remove drweb*

Внимание!

Removal with the use of yum has the following features:

1.The first variant of the command removes only the <package name> package, but other packages (which could be automatically installed on the package installation to resolve dependences) remain in the system.

2.The second variant of the command removes from the system all packages, names of which start with the 'drweb' string (this is a standard pattern for a Dr.Web package name). Please note that this command removes from the system all packages which name corresponds to the pattern, not only those of Dr.Web for UNIX mail servers.

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

Zypper package manager (SUSE Linux)

1. Installation:

To add the repository, use the following command:

zypper ar -t YUM http://officeshield.drweb.com/drweb/el5/stable/i386/ drweb

or

zypper ar -t YUM http://officeshield.drweb.com/drweb/el5/stable/x86_64/ drweb

To install Dr.Web for UNIX mail servers, use the following commands:

zypper refresh
zypper install <package name>

2. Deinstallation:

To remove Dr.Web for UNIX mail servers, use the following command:

zypper remove <package name>

To remove all installed packages from Dr.Web, use the following command (in some systems, it is required to escape the '*' character with a backslash: '\*'):

zypper remove drweb*

Внимание!

Removal with the use of zypper has the following features:

1.The first variant of the command removes only the <package name>, package but other packages (which could be automatically installed on the package installation to resolve dependences) remain in the system.

2.The second variant of the command removes from the system all packages, names of which start with the 'drweb' string (this is a standard pattern for a Dr.Web package name). Please note that this command removes from the system all packages which name corresponds to the pattern, not only those of Dr.Web for UNIX mail servers.

You can also use alternative package managers (or example, YaST) to install or remove the packages.

FreeBSD operating system

Installation:

You can install Dr.Web products from meta-ports for FreeBSD. Download the drweb-maild-meta_current-current~freebsd_all.tar.gz archive from http://officeshield.drweb.com/drweb/freebsd/ports/. After that, unpack the archive and use the make install command to compile and install Dr.Web for UNIX mail servers. If you install Dr.Web for UNIX mail servers in FreeBSD 6.1, specify the path to the /usr/ports/Mk/ directory using the -I parameter. That directory contains the ports tree.

Example:

tar -xzvf drweb-maild-meta_current-current~freebsd_all.tar.gz
make install -I /usr/ports/Mk/

 

Внимание!

Please note that after you update Dr.Web for UNIX mail servers from native packages, it is required to restart the suite. To do that, reload Dr.Web Monitor by running the following command: /etc/init.d/drweb-monitor restart.

An attempt to reload the module by sending a SIGHUP signal will cause an error if the plug-in libraries were updated.