Installation and removal

Installation

KasperskyOS Community Edition is distributed as a deb package. It is recommended to use the apt package installer to install KasperskyOS Community Edition.

To deploy the package using apt, run the following command:

$ sudo apt update && sudo apt install <path-to-deb-package>

The package will be installed in the /opt/KasperskyOS-Community-Edition-<platform>-<version> directory.

Setting values of environment variables

To conveniently work with tools provided in the KasperskyOS Community Edition SDK, the path to the executable files of these tools in /opt/KasperskyOS-Community-Edition-<platform>-<version>/toolchain/bin must be added to the PATH environment variable. To do so, the following commands must be executed:

$ cd /opt/KasperskyOS-Community-Edition-<platform>-<version>/common/

$ source set_env.sh

In addition to changing the PATH environment variable, the script also defines the KOSCEVER and KOSCEDIR environment variables that contain the version and absolute path to the KasperskyOS Community Edition SDK, respectively. Use of these environment variables allows to determine the SDK installation path, and to verify that the solution version matches the SDK version.

Removal

To remove KasperskyOS Community Edition, run the following command:

$ sudo apt remove --purge kasperskyos-community-edition-<platform>

After running this command, all installed files in the /opt/KasperskyOS-Community-Edition-<platform>-<version> directory will be deleted.

Page top