Getting Current Updates

In this section:

Updating online.

Updating offline.

Updating online

After installation of Dr.Web for Linux using any method described in the corresponding section, the package manager automatically connects to the Dr.Web package repository:

If installation was performed from the universal package (file .run), and the system uses DEB packages (for example, such operating systems as Debian, Mint, Ubuntu), for operation with Dr.Web packages, an individual version of package managers zypper is used. It is automatically installed during Dr.Web for Linux installation.

To get and install the updated Dr.Web packages with this manager, go to the <opt_dir>/bin directory (for GNU/Linux—/opt/drweb.com/bin), and execute the following commands:

# ./zypper refresh
# ./zypper update

In all other cases use commands for updating of the package manager used in your OS, for example:

For Red Hat Enterprise Linux and CentOS, use the command yum

For Fedora, use the command yum or dnf

For SUSE Linux, use the command zypper

For Mageia, OpenMandriva Lx, use the command urpmi

For Alt Linux, PCLinuxOS, Debian, Mint, Ubuntu, use the command apt-get.

You can also use alternate package managers developed for your operating system. If necessary, refer to the instruction manual for the package manager you use.

If a new Dr.Web for Linux version is released, packages with its components are put into the section of the Dr.Web repository corresponding to the new product version. In this case, an update requires switching of the package manager to a new Dr.Web repository section (refer to Upgrading to a Newer Version).

Updating offline

In highly secure environments where internet connection is blocked or limited, it is possible to update virus bases offline. You need to download updates to a computer connected to the internet, copy them to a USB drive or local network share and then install them to another computer (which is not connected to the internet).

The update procedure has to be run from the command line.

In order to get the updates:

1.Run the following command on a computer connected to the internet:

$ drweb-ctl update --Path <a path to a directory to store updates>

2.Copy the downloaded updates to a USB drive or local network share.

3.Mount the local network share or removable drive on the computer to be updated. If the updates are from the USB drive, run the following commands:

# mkdir /mnt/usb
# mount <a path to the device> /mnt/usb

4.Apply the updates with the following command:

$ drweb-ctl update --From /mnt/usb