Install OpenVINO™ Runtime on Linux From YUM Repository

With the OpenVINO™ 2022.3 release, you can install OpenVINO Runtime on Linux using the YUM repository. OpenVINO™ Development Tools can be installed via PyPI only. See Installing Additional Components for more information.

See the Release Notes for more information on updates in the latest release.

Installing OpenVINO Runtime from YUM is recommended for C++ developers. If you are working with Python, the PyPI package has everything needed for Python development and deployment on CPU and GPUs. Visit the Install OpenVINO from PyPI page for instructions on how to install OpenVINO Runtime for Python using PyPI.

Warning

By downloading and using this container and the included software, you agree to the terms and conditions of the software license agreements.

Prerequisites

Full requirement listing is available in:

Note

Installing OpenVINO from YUM is only supported on RHEL 8.2 and higher versions. CentOS 7 is not supported for this installation method.

Processor graphics are not included in all processors. See Product Specifications for information about your processor.

Install OpenVINO Runtime

Step 1: Set Up the Repository

  1. Create a YUM repository file (openvino-2022.repo) in the /tmp directory as a normal user:

    tee > /tmp/openvino-2022.repo << EOF
    [OpenVINO]
    name=Intel(R) Distribution of OpenVINO 2022
    baseurl=https://yum.repos.intel.com/openvino/2022
    enabled=1
    gpgcheck=1
    repo_gpgcheck=1
    gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
    EOF
    
  2. Move the new openvino-2022.repo file to the YUM configuration directory, i.e. /etc/yum.repos.d:

    sudo mv /tmp/openvino-2022.repo /etc/yum.repos.d
    
  3. Verify that the new repository is set up properly.

    yum repolist | grep -i openvino
    

    You will see the available list of packages.

To list available OpenVINO packages, use the following command:

yum list 'openvino*'

Step 2: Install OpenVINO Runtime Using the YUM Package Manager

Install OpenVINO Runtime

Run the following command:

sudo yum install openvino

Run the following command:

sudo yum install openvino-<VERSION>.<UPDATE>.<PATCH>

For example:

sudo yum install openvino-2022.3.0
Check for Installed Packages and Version

Run the following command:

yum list installed 'openvino*'

Step 3 (Optional): Install Additional Components

OpenVINO Development Tools is a set of utilities for working with OpenVINO and OpenVINO models. It provides tools like Model Optimizer, Benchmark Tool, Post-Training Optimization Tool, and Open Model Zoo Downloader. If you installed OpenVINO Runtime using YUM, OpenVINO Development Tools must be installed separately.

See For C++ Developers section on the Install OpenVINO Development Tools page for instructions.

Step 4 (Optional): Configure Inference on Non-CPU Devices

To enable the toolkit components to use processor graphics (GPU) on your system, follow the steps in [GPU Setup Guide](@ref openvino_docs_install_guides_configurations_for_intel_gpu).

Step 5: Build Samples

To build the C++ or C sample applications for Linux, run the build_samples.sh script:

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

For more information, refer to Build the Sample Applications on Linux.

Uninstalling OpenVINO Runtime

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

sudo yum autoremove openvino
sudo yum autoremove openvino-<VERSION>.<UPDATE>.<PATCH>

For example:

sudo yum autoremove openvino-2022.3.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: