Kaspersky Embedded Systems Security for Linux

Updating the application using the command line

Updating the application using the command line is performed by installing a new version of the application on the device from an RPM or DEB format package depending on the type of package manager.

If the conditions of the End User License Agreement and/or the Privacy Policy have changed in the new version of the application, you must accept the new conditions during the update. Read the new version of the End User License Agreement and/or the Privacy Policy:

  • The new version of the End User License Agreement is located in the (~/.kess/<application version>/license.<language ID>) directory.
  • The new version of the Privacy Policy is located in the (~/.kess/<application version>/license.<language ID>) directory.

If you do not accept the conditions of the End User License Agreement and/or the Privacy Policy, the application will not be updated.

If the terms of the Kaspersky Security Network Statement changed in the new version of the application, you need to accept or decline the new terms of use for participating in Kaspersky Security Network. Read the new version of the document located in the (~/.kess/<application version>/ksn_license.<language ID>) directory. Refusing to use Kaspersky Security Network will not halt the Kaspersky Embedded Systems Security update process. You can enable, disable, or change Kaspersky Security Network mode later.

If you used KSN and accepted the conditions of the Kaspersky Security Network Statement in a previous version of the application, you need to accept the conditions of the Kaspersky Security Network Statement when updating the application. Otherwise, use of KSN will be disabled.

To accept the terms of the new agreements during the upgrade, use the variables KESS_EULA_AGREED=yes, KESS_PRIVACY_POLICY_AGREED=yes, and KESS_USE_KSN=yes/no.

To update the application:

  1. Install the application package using the following command, depending on the package manager. If you have the graphical user interface of the previous version of the application installed, then you also need to start the package containing the files of the graphical user interface.
    • for an RPM package.

      # [KESS_EULA_AGREED=yes] [KESS_PRIVACY_POLICY_AGREED=yes] [KESS_USE_KSN=yes/no] rpm -U --replacefiles --replacepkgs kess-3.4.0-<build number>.<arch>.rpm [kess-gui-3.4.0-<build number>.<arch>.rpm]

      where <arch> is the architecture type:

      • i386 – for 32-bit operating systems
      • x86_64 – for 64-bit operating systems

      On an operating system with a package manager of the RPM type, if the application package and the GUI package are both installed, we do not recommend updating only one of the packages without the other.

    • for a DEB package:

      # [KESS_EULA_AGREED=yes] [KESS_PRIVACY_POLICY_AGREED=yes] [KESS_USE_KSN=yes/no] apt-get install ./kess_3.4.0-<build number>_<arch>.deb [./kess-gui_3.4.0-<build number>_<arch>.deb]

      where <arch> is the architecture type:

      • i386 – for 32-bit operating systems
      • amd64 – for 64-bit operating systems

      On an operating system with a package manager of the dpkg type, if the application package and the GUI package are both installed, either of the packages cannot be updated without the other.

  2. Kaspersky Embedded Systems Security restarts automatically.

Example:

Install the RPM application package with the GUI package for 64-bit operating systems:

# KESS_EULA_AGREED=yes KESS_PRIVACY_POLICY_AGREED=yes KESS_USE_KSN=yes rpm -U --replacefiles --replacepkgs kess-3.4.0-<build number>.x86_64.rpm kess-gui-3.4.0-<build number>.x86_64.rpm

If you use the command line to manage the application, then after upgrading, most application settings use the values configured for the previous version of the application. Some settings are assigned special values. Settings that were missing in the previous version of the application take on default values in the new version of the application.

Changes to the application settings made after the update is complete and before the application restarts are not saved.