Kaspersky Endpoint Security 12 for Linux

Updating the application using the command line

July 22, 2024

ID 197396

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 you are using the graphical user interface, to update it, you must first uninstall the previous version of the graphical user interface package using the command rpm -e --nodeps kesl-gui, and then install the package containing files for version 12.1 of the graphical user interface.

The graphical user interface is not supported if Kaspersky Endpoint Security is used in Light Agent mode to protect virtual environments.

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 (~/.kesl/<application version>/license.<language ID>) directory.
  • The new version of the Privacy Policy is located in the (~/.kesl/<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 (~/.kesl/<application version>/ksn_license.<language ID>) directory. Refusal to participate in Kaspersky Security Network does not interrupt the Kaspersky Endpoint 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 conditions of the new agreements during the update, use the environment variables KESL_EULA_AGREED=yes, KESL_PRIVACY_POLICY_AGREED=yes, and KESL_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.

      # [KESL_EULA_AGREED=yes] [KESL_PRIVACY_POLICY_AGREED=yes] [KESL_USE_KSN=yes/no] rpm -U --replacefiles --replacepkgs kesl-12.1.0-<build number>.<arch>.rpm [kesl-gui-12.1.0-<build number>.<arch>.rpm]

      where <arch> is the architecture type:

      • i386 – for 32-bit operating systems
      • x86_64 – for 64-bit operating systems
      • aarch64 – for 64-bit operating systems for the Arm architecture

      On an rpm-based operating system, if the application package and the GUI package are both installed, we do not recommend updating one of the packages without the other.

    • for a DEB package:

      # [KESL_EULA_AGREED=yes] [KESL_PRIVACY_POLICY_AGREED=yes] [KESL_USE_KSN=yes/no] apt-get install ./kesl_12.1.0-<build number>_<arch>.deb [./kesl-gui_12.1.0-<build number>_<arch>.deb]

      where <arch> is the architecture type:

      • i386 – for 32-bit operating systems
      • amd64 – for 64-bit operating systems
      • arm64 – for 64-bit operating systems for the Arm architecture

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

  2. Kaspersky Endpoint Security will restart automatically.
  3. Some operating systems may require a restart. The application will show a corresponding message, if necessary.

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.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.