Install OpenVINO™ Runtime on Linux From ZYPPER Repository

Note

Note that the ZYPPER distribution:

  • offers both C/C++ APIs

  • does not offer support for NPU inference

  • is dedicated to Linux users only

  • additionally includes code samples

Full requirement listing is available in:

Note

OpenVINO RPM packages are compatible with and can be run on the following operating systems:

  • openSUSE Tumbleweed

To see if your processor includes the integrated graphics technology and supports iGPU inference, refer to:

Install OpenVINO Runtime

Step 1: Set Up the Repository

  1. Create a ZYPPER repository file with the command below:

    sudo zypper addrepo https://download.opensuse.org/repositories/science/openSUSE_Tumbleweed/science.repo
    sudo zypper refresh
    
  2. Verify that the new repository is set up properly.

    zypper lr |grep -i science
    

    You will see the available list of packages.

To list available OpenVINO packages, use the following command:

zypper se openvino

Step 2: Install OpenVINO Runtime Using the ZYPPER Package Manager

Install OpenVINO Runtime

Run the following command:

sudo zypper install openvino-devel openvino-sample

Check for Installed Packages and Version

Run the following command:

zypper se -i openvino

Note

You can additionally install Python API using one of the alternative methods (conda or pip).

Congratulations! You’ve just Installed OpenVINO! For some use cases you may still need to install additional components. Check the list of additional configurations to see if your case needs any of them.

With the ZYPPER distribution, you can build OpenVINO sample files, as explained in the guide for OpenVINO sample applications. For C++ and C, just run the build_samples.sh script:

/usr/share/openvino/samples/cpp/build_samples.sh
/usr/share/openvino/samples/c/build_samples.sh

Uninstalling OpenVINO Runtime

To uninstall OpenVINO Runtime via ZYPPER, run the following command based on your needs:

sudo zypper remove *openvino*
sudo zypper remove *openvino-<VERSION>.<UPDATE>.<PATCH>*

For example:

sudo zypper remove *openvino-2024.0.0*

What’s Next?

Now that you’ve installed OpenVINO Runtime, you’re ready to run your own machine learning applications! Learn more about how to integrate a model in OpenVINO applications by trying out the following tutorials:

You can also try the following things: