Custom Component Installation and Uninstallation |
If necessary, you can choose to install or uninstall only certain product 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. Typical Component Kits for a Custom Installation If it is required to install the product with the limited functionality, instead of installation of the product’s root meta-package from the repository or from the universal package, you can install only component packages that provide the required functionality. The packages required to resolve dependencies will be automatically installed. The table below displays component sets designed to resolve typical product tasks. In the column , there is a list of packages required for installation to obtain the specified component suite.
1. Installation and Uninstallation of Product Components Installed from Repository If your product 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 Dr.Web ClamD (package drweb-clamd) from the product installed on OS , use the command:
2.To additionally install Dr.Web ClamD (package drweb-clamd) to the product installed on OS , use the command:
If necessary, use a help file of the package manager used in your OS.
2. Installation and Uninstallation of Product Components Installed from the Universal Package If the product 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 the product was installed. In case you did not save this file, download it from the Doctor Web’s official website. Unpacking the Installation File When you launch the .run file, you can also specify the following command-line parameters: --noexec—unpack the product’s 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 the product installation files and the installation log automatically after the installation completes. --target <directory>—unpack the product’s installation files to the specified <directory>. For a full list of command-line parameters that can be specified for the launching of the .run file, enter the following command:
For a custom installation, you need to use the unpacked installation files. If there is no directory containing these files, you should first unpack them. To do that, enter the following command:
After the command is executed, a nested directory named <file_name> will appear in the directory <directory>. Custom Installation of the Components Installation RUN file contains packages of all components of Dr.Web for UNIX Internet Gateways (in the RPM format) and supporting files. Package files of each component have the following structure:
where <version> is a string that contains the version and time of the product’s release, and <platfrom> is a platform for which the product is intended. Names of all the packages containing the components of Dr.Web for UNIX Internet Gateways start with the "drweb" prefix. Package manager is enabled for the installation of packages to the installation kit. For the custom installation, you should use a service script installpkg.sh. To do that, first, you need to unpack the contents of the installation package to a directory.
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):
For example:
If it is necessary to start the full product installation, launch the automatic installation script. To do that, use the following command:
Besides that, you can install all product packages (to install the missing or accidentally deleted components as well) by launching the installation of the root meta-package of the product:
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 and , use the command remove <package_name> •In , use the command remove <package_name> or remove <package_name> •In , use the command remove <package_name> •In , , use the command <package_name> •In and , use the command remove <package_name>. For example (for ):
If your OS uses DEB packages (also if you use 3.0 OS), or if there is no package manager in your system (, ), for the custom uninstallation, you should use the package manager , which is automatically installed within the product installation. To do that, go to the directory <opt_dir>/bin (for —/opt/drweb.com/bin) and execute the following command:
For example:
If it is necessary to start the full product uninstalling, launch the automatic uninstallation script. To do that, use the following command:
To reinstall a component, you can uninstall it first and then install by launching the custom or full installation from the installation kit. |