Installing Light Agent for Linux from the command line

January 10, 2024

ID 94972

Prior to beginning installation, you need to unpack the distribution package of Light Agent for Linux.

You can install Light Agent for Linux from the command line in one of the following ways:

The Light Agent for Linux component is installed from the command line using the installation script in the self-extracting Shar archive named lightagent-5.2.X-X-bundle.sh (where 5.2.X-X is the application version number).

The lightagent-5.2.X-X-bundle.sh archive includes the packages necessary for installing the supported version of Light Agent for Linux and Kaspersky Security Center Network Agent.

You can run the installation of Light Agent for Linux with the following parameters:

  • --skip-product (installs only Kaspersky Security Center Network Agent).
  • --skip-klnagent (installs only Light Agent for Linux, with a preliminary check of whether the supported version of Network Agent is installed (the version that is included in the shar-archive)). If a supported version of Network Agent is not installed, Light Agent for Linux will not be installed, and the installation ends with an error.
  • --skip-klnagent --skip-klnagent-version-check – installs only Light Agent for Linux after a preliminary verification that any version of Network Agent is installed on the virtual machine. If Network Agent is not installed, Light Agent for Linux will not be installed, and the installation ends with an error.

    The operation of Light Agent for Linux requires one of the following versions of Network Agent: 12.0.1.60 (for 32-bit operating systems) or 12.0.0.60 (for 64-bit operating systems).

  • --auto-install=<path to the Light Agent for Linux configuration file> --klnagent-auto-install=<path to the Network Agent configuration file> – install Light Agent for Linux and Network Agent in silent mode. Full paths to the configuration files containing the initial setup settings for configuring Light Agent for Linux and Network Agent must be specified. The paths to files can be identical, meaning it can be a single configuration file.
  • -x – unpack the contents of the shar archive to the directory where the shar archive is located.
  • --force-install – install Light Agent for Linux and Network Agent after first removing the previously installed Light Agent for Linux.
  • --clean – install Light Agent for Linux and Network Agent after first removing the previously installed Light Agent for Linux and Network Agent, including their directories, user-modified configuration files, databases and trace files.

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.