Custom Component Installation and Uninstallation

If necessary, you can choose to install or uninstall only certain Dr.Web for Linux components by installing or uninstalling the respective packages. Custom component installation or uninstallation should be performed the same way the product was installed.

To reinstall a component, you can uninstall it first and then install again.

Dr.Web for Linux Component Installation and Uninstallation:

installed from the repository;

installed from the universal package.

1. Installation and Uninstallation of Dr.Web for Linux Components Installed from Repository

If Dr.Web for Linux is installed from repository, for custom component installation or uninstallation use the respective command of the package manager, used in your OS. For example:

1.To uninstall SpIDer Gate (package drweb-gated) from the Dr.Web for Linux installed on CentOS, use the command:

# yum remove drweb-gated

2.To additionally install SpIDer Gate (package drweb-gated) to the Dr.Web for Linux installed on Ubuntu OS, use the command:

# apt-get install drweb-gated

If needed, use help on package manager used in your OS.

2. Installation and Uninstallation of Dr.Web for Linux Components Installed from the Universal Package

If Dr.Web for Linux is installed from the universal package and you want to additionally install or reinstall a package of a component, you will need an installation file (with the .run extension), from which Dr.Web for Linux was installed. If you did not save this file, download it from the Doctor Web official website.

Unpacking the Installation File

When you launch the .run file, you can also specify the following command-line parameters:

--noexec—unpack Dr.Web for Linux installation files instead of starting the installation process. The files will be placed to the directory that is specified in the TMPDIR environment variable (usually, /tmp).

--keep—do not delete Dr.Web for Linux installation files and the installation log automatically after the installation completes.

--target <directory>—unpack Dr.Web for Linux installation files to the specified <directory>.

For a full list of command-line parameters that can be specified for an installation file, type the following command:

$ ./<file_name>.run --help

For custom installation of Dr.Web for Linux components, you need to use the unpacked Dr.Web for Linux installation files. If there is no directory containing these files, enter the following command:

$ ./<file_name>.run --noexec --target <directory>

After the command is executed, a nested directory named <file_name> will appear in the directory <directory>, containing the unpacked Dr.Web for Linux files.

Custom Installation of the Components

Installation RUN file contains packages of all components of Dr.Web for Linux (in the RPM format) and supporting files. Package files of each component have the following structure:

<component_name>_<version>~linux_<platform>.rpm

where <version> is a string that contains the version and time of the product release, and <platform> is a platform for which Dr.Web for Linux is intended. Names of all the packages containing the components of Dr.Web for Linux start with the “drweb” prefix.

The zypper package manager is enabled for the installation of packages to the installation kit. For the custom installation, use a service script installpkg.sh. To do that, first, unpack the contents of the installation package to any directory.

To install packages, superuser permissions are required (i.e. privileges of the root user). To elevate your privileges, use the su command for changing the current user or the sudo command to execute the specified command with the privileges of another user.

To start installation or reinstallation of a component package, go to the directory which contains the unpacked installation kit, and execute the following command via the console (or via a console emulator—terminal for the graphical mode):

# ./scripts/installpkg.sh <package_name>

For example:

# ./scripts/installpkg.sh drweb-gated

If it is necessary to start the full Dr.Web for Linux installation, launch the automatic installation script. To do that, use the following command:

$ ./install.sh

Besides that, you can install all Dr.Web for Linux packages (to install the missing or accidentally deleted components as well) by launching the installation of the root meta-package:

# ./scripts/installpkg.sh drweb-workstations

Custom Uninstallation of the Components

For the custom uninstallation of a component, use the appropriate uninstallation command of the package manager of your OS if your OS uses the RPM format of packages:

In Red Hat Enterprise Linux and CentOS, use the command yum remove <package_name>

In Fedora, use the command yum remove <package_name> or dnf remove <package_name>

In SUSE Linux, use the command zypper remove <package_name>

In Mageia, OpenMandriva Lx, use the command urpme <package_name>

In Alt Linux and PCLinuxOS, use the command apt-get remove <package_name>.

For example, for Red Hat Enterprise Linux:

# yum remove drweb-gated

If your OS uses DEB packages, use the package manager zypper, which is automatically installed within Dr.Web for Linux installation, for the custom uninstallation. To do that, go to the directory /opt/drweb.com/bin and execute the following command:

# ./zypper rm <package_name>

For example:

# ./zypper rm drweb-gated

If you need to uninstall Dr.Web for Linux, launch the automatic removal script. To do this, enter the following command:

# ./uninst.sh

To reinstall a component, you can uninstall it first and then install by launching the custom or full installation from the installation kit.