# Install base SDK on Linux

Source: [https://docs.qualcomm.com/doc/80-77512-1/topic/hexagon-dsp-sdk-install-base-sdk-linux.html](https://docs.qualcomm.com/doc/80-77512-1/topic/hexagon-dsp-sdk-install-base-sdk-linux.html)

## GUI-based installation

Refer to [GUI-based installation](https://docs.qualcomm.com/doc/80-77512-1/topic/hexagon-dsp-sdk-install-base-sdk-windows.html#concept_kgs_gfy_mbc__section_tqx_xky_mbc_jcock_05-24-24-1124-31-655).

## CLI-based installation

After the installation of `qpm-cli`, install the SDK:
1. Open a terminal.
2. Run `qpm-cli --login` to log in to QPM3.
3. Run `qpm-cli --license-activate hexagonsdk6.x` to activate
                        the license for the SDK.
4. Run `qpm-cli --license-activate compute1.x` to activate the
                        license for the addon.
5. Run `qpm-cli --install hexagonsdk6.x`.
    This installs the
                            Hexagon SDK with the default settings. The default location is
                                /local/mnt/workspace/Qualcomm/Hexagon\_SDK/&lt;version&gt;.
                            If this path is not available, customize your installation with [Configure installation](https://docs.qualcomm.com/doc/80-77512-1/topic/hexagon-dsp-sdk-install-base-sdk-linux.html#concept_zyr_5fy_mbc__section_hsx_1d5_pbc_jcock_06-03-24-1438-10-439).

## Configure installation

You can configure the installation by creating a configuration file. Configuration
                files are JSON-based files that allow users to specify custom install locations and
                SDK dependencies when installing from the command line.

The configuration file supports the following configuration parameters that may be
                set independently:
- CustomInstallPath – Used to define where you wish to
                        install the SDK. The following example will install the SDK in the
                            /myTools/SDK/Hexagon directory. The version of the
                        SDK will be automatically appended to the path
                        provided.

        {
        "CustomInstallPath" : "/myTools/SDK/Hexagon”
        }Copy to clipboard
- Addons – Used to define the dependencies components
                        that you wish to install.
{
        "Addons" : ["HexagonSDK6x_FullNDK", "Compute1.x. Core"]
        }Copy to clipboard

The following are supported Addons during installation for
                            HexagonSDK6.x for Linux:
    - HexagonSDK6x\_FullNDK
    - Compute1.x. Core
    - HexagonSDK6x\_Libusb

The examples provided can be written to a JSON file that will install the SDK in the
                    /myTools/SDK/Hexagon directory, and the version of the SDK
                will be automatically appended to the path provided. You are not required to provide
                both CustomInstallPath and Addons fields.
                Excluding either will fall back to default values.

Run the installer with the `--config` flag. Ensure you pass your
                created JSON file to the `--config` flag. For example,
                    `qpm-cli --install hexagonsdk6.x --config
                installConfig.json`.

**Parent Topic:** [Base SDK](https://docs.qualcomm.com/doc/80-77512-1/topic/hexagon-dsp-sdk-base-sdk.html)

Last Published: Jul 10, 2024

[Previous Topic
Install base SDK on Windows](https://docs.qualcomm.com/bundle/publicresource/80-77512-1/topics/hexagon-dsp-sdk-install-base-sdk-windows.md) [Next Topic
Addons](https://docs.qualcomm.com/bundle/publicresource/80-77512-1/topics/hexagon-dsp-sdk-addons.md)