> ## Documentation Index
> Fetch the complete documentation index at: https://imsdkdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

Qualcomm® Intelligent Multimedia SDK (QIM SDK) is an AI framework designed to build Vision AI pipelines. It runs on Qualcomm’s powerful and power-efficient IoT platforms, providing GStreamer-based plugins for multimedia, computer vision (CV), and artificial intelligence (AI) to facilitate seamless application development.

<Tabs>
  <Tab title="QIMSDK on Ubuntu">
    ## Prerequisites

    Make sure your [Dragonwing](https://dragonwingdocs.qualcomm.com/index) device has been set up with Ubuntu and you have shell access.<br />
    [Download Ubuntu on Qualcomm IoT Platforms](https://dragonwingdocs.qualcomm.com/Ubuntu/ubuntu-overview) and `Select Your Device`.

    ## Installation

    <Steps>
      <Step title="Add Qualcomm PPA">
        Update package metadata and add the Qualcomm Ubuntu PPA.

        ```bash theme={null}
        sudo apt update
        sudo add-apt-repository ppa:ubuntu-qcom-iot/qcom-ppa
        ```
      </Step>

      <Step title="Install GStreamer core components">
        Install the required GStreamer tools and base multimedia packages.

        ```bash theme={null}
        sudo apt install -y \
          gstreamer1.0-tools \
          gstreamer1.0-plugins-good \
          gstreamer1.0-plugins-base \
          gstreamer1.0-libav
        ```
      </Step>

      <Step title="Install Qualcomm hardware-accelerated GStreamer plugins">
        Install the Qualcomm GStreamer plugin package.

        ```bash theme={null}
        sudo apt install -y \
          gstreamer1.0-plugins-qcom
        ```
      </Step>

      <Step title="Install AI runtime and inference components">
        Install AI runtime packages and developer tools required for inference workflows.

        ```bash theme={null}
        sudo apt install -y \
          tensorflow-lite-qcom-apps \
          libqnn-dev \
          libsnpe-dev
        ```
      </Step>

      <Step title="Validate QIMSDK plugins on device">
        Verify that Qualcomm-specific GStreamer plugins are available after installation.

        ```bash theme={null}
        gst-inspect-1.0 | grep qti
        ```

        After installation, you should see Qualcomm-specific GStreamer plugins listed.

        <img src="https://mintcdn.com/qimsdk/p8bRJ_K0_Mx14HV0/images/gst-inspect-qti.png?fit=max&auto=format&n=p8bRJ_K0_Mx14HV0&q=85&s=2efaa2199938f3e6eaf75a0fe6727883" alt="List of QIMSDK plugins" width="791" height="648" data-path="images/gst-inspect-qti.png" />
      </Step>

      <Step title="Install optional developer packages">
        Use the following optional packages based on your development or deployment needs.

        <AccordionGroup>
          <Accordion title="Multimedia acceleration and system integration">
            Install packages for FastCV, DMA buffer heap integration, and sensor test applications.

            ```bash theme={null}
            sudo apt install -y \
              qcom-fastcv-binaries-dev \
              qcom-libdmabufheap-dev \
              qcom-sensors-test-apps
            ```
          </Accordion>

          <Accordion title="Utilities and media tools">
            Install common utilities used during media development, debugging, and validation.

            ```bash theme={null}
            sudo apt install -y \
              ffmpeg \
              net-tools \
              pulseaudio-utils \
              selinux-utils \
              unzip \
              v4l-utils \
              qnn-tools \
              snpe-tools
            ```
          </Accordion>

          <Accordion title="Sample applications and Python examples">
            Install sample applications and Python examples for quick validation and development.

            ```bash theme={null}
            sudo apt install -y \
              gstreamer1.0-qcom-sample-apps \
              gstreamer1.0-qcom-python-examples
            ```
          </Accordion>

          <Accordion title="Wayland and display support (server only)">
            Install display and Wayland-related packages for systems that require GUI or compositor support.

            ```bash theme={null}
            sudo apt install -y \
              qcom-adreno1 \
              weston-autostart \
              xwayland
            ```
          </Accordion>
        </AccordionGroup>
      </Step>
    </Steps>
  </Tab>

  <Tab title="QIMSDK on Yocto">
    ## Yocto Instructions

    Select the appropriate **Kit Name** to update the Qualcomm Linux software.
    [Development Kits](https://dragonwingdocs.qualcomm.com/Key-Documents/Flash-Guide/obtain-prebuilts)
  </Tab>
</Tabs>
