Installing deb packages

The following packages must be installed for application development:

The computer must have software installed as defined in the hardware and software requirements.

The deb packages are installed on Linux.

To install the deb packages:

  1. To install deb packages containing CPU and AltAI SNN backend binaries, run the following commands as root:

    dpkg -i <path-to-deb-package>/knp-cpu-single-threaded-backend_<knp_version>_amd64.deb

    dpkg -i <path-to-deb-package>/knp-cpu-multi-threaded-backend_<knp_version>_amd64.deb

    dpkg -i <path-to-deb-package>/knp-altai-backend_<motiv_version>_amd64.deb

    where:

    • <path-to-deb-package> is the path to the deb package.
    • <knp_version> is the Kaspersky Neuromorphic Platform version.
    • <motiv_version> is the version of the backends for the AltAI-1 neuromorphic processor and the ANN2SNN package.

    When installing the knp-altai-backend_<motiv_version>_amd64.deb package, accept the AltAI-1 backends and ANN2SNN package Terms of Use. Your acceptance of the Terms of Use is a prerequisite for installing the package. The package installation process will be interrupted unless you accept the Terms of Use.

  2. To install the deb package with C++ framework binary code, run the following command as root:

    dpkg -i <path-to-deb-package>/knp-cpp-framework_<knp_version>_amd64.deb

  3. To install dev-deb packages, run the following commands as root:

    dpkg -i <path-to-deb-package>/knp-cpu-multi-threaded-backend-dev_<knp_version>_amd64.deb

    dpkg -i <path-to-deb-package>/knp-cpu-single-threaded-backend-dev_<knp_version>_amd64.deb

    dpkg -i <path-to-deb-package>/knp-altai-backend-dev_<motiv_version>_amd64.deb

    dpkg -i <path-to-deb-package>/knp-cpp-framework-dev_<knp_version>_amd64.deb

    When installing the knp-altai-backend-dev_<motiv_version>_amd64.deb package, accept the AltAI-1 backends and ANN2SNN package Terms of Use. Your acceptance of the Terms of Use is a prerequisite for installing the package. The package installation process will be interrupted unless you accept the Terms of Use.

  4. To install the deb package with a Python framework for an AltAI SNN backend, run the following as root:

    dpkg -i <path-to-deb-package>/knp-python3-framework_<knp_version>_amd64.deb

  5. To install the deb packages with ANN2SNN package and AltAI ANN2SNN backend binary code, run the following commands as root:

    dpkg -i <path-to-deb-package>/knp_ann2snn.deb

    When installing the knp_ann2snn.deb package, accept the AltAI-1 backends and ANN2SNN package Terms of Use. Your acceptance of the Terms of Use is a prerequisite for installing the package. The package installation process will be interrupted unless you accept the Terms of Use.

  6. To install the deb package with platform usage examples, run the following command as root:

    dpkg -i <path-to-deb-package>/knp-examples_<knp_version>_amd64.deb

  7. To install the deb package with the API reference guide, run the following command as root:

    dpkg -i <path-to-deb-package>/knp-documentation_<knp_version>_all.deb

See also

Installing Python development packages

Supported backends

Page top