Installing from Native Packages

You can install Dr.Web for UNIX File 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.

Внимание!

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 File Servers, use the following commands:

apt-get update
apt-get install drweb-file-servers

2. Deinstallation:

To remove Dr.Web for UNIX File Servers, use the following command:

apt-get remove drweb-file-servers

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 drweb-file-servers 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 File 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 File 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 File Servers:

apt-get update
apt-get install drweb-file-servers

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 File Servers:

urpmi.update drweb
urpmi drweb-file-servers

2. Deinstallation:

To remove Dr.Web for UNIX File Servers:

urpme drweb-file-servers

To automatically remove unused packages from the system:

urpme --auto-orphans drweb-file-servers

Внимание!

Removal with the use of urpme has the following features:

1.The first variant the command removes only the drweb-file-servers 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 drweb-file-servers 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 File 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 File Servers:

yum install drweb-file-servers

2. Deinstallation:

To remove Dr.Web for UNIX File Servers:

yum remove drweb-file-servers

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 drweb-file-servers 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 File 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 File Servers, use the following commands:

zypper refresh
zypper install drweb-file-servers

2. Deinstallation:

To remove Dr.Web for UNIX File Servers, use the following command:

zypper remove drweb-file-servers

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 drweb-file-servers, 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 File 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-file-servers_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 File Servers. If you install Dr.Web for UNIX File 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-file-servers_current-current~freebsd_all.tar.gz
make install -I /usr/ports/Mk/