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 /opt/KasperskyOS-Community-Edition-<version>
.
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-<version>/toolchain/bin
must be added to the PATH
environment variable. To avoid having to do this each time you log in to a user session, run the script /opt/KasperskyOS-Community-Edition-<version>/set_env.sh
, log out and log in to a session again.
Syntax of the command for calling the set_env.sh
script:
$ sudo ./set_env.sh [-h] [-d]
Parameters:
-d
Cancels the action of the script.
-h
, --help
Displays the Help text.
In addition to changing the PATH
environment variable, the script 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 the build system to determine the SDK installation path at startup, and to verify that the solution version matches the SDK version.
Removal
Prior to removing KasperskyOS Community Edition, cancel the action of the set_env.sh
script if you ran this script after installing the SDK.
To remove KasperskyOS Community Edition, run the following command:
$ sudo apt remove --purge kasperskyos-community-edition
After running this command, all installed files in the /opt/KasperskyOS-Community-Edition-<version>
directory will be deleted.