Install Intel® Distribution of OpenVINO™ Toolkit for Linux Using YUM Repository

This guide provides installation steps for Intel® Distribution of OpenVINO™ toolkit for Linux distributed through the YUM repository.

Note

From the 2022.1 release, the OpenVINO™ Development Tools can only be installed via PyPI. If you want to develop or optimize your models with OpenVINO, see Install OpenVINO Development Tools for detailed steps.

Warning

By downloading and using this container and the included software, you agree to the terms and conditions of the software license agreements. Please review the content inside the <INSTALL_DIR>/licensing folder for more details.

System Requirements

The complete list of supported hardware is available in the Release Notes.

Operating systems

  • Red Hat Enterprise Linux 8, 64-bit

Software

Install OpenVINO Runtime

Step 1: Set Up the Repository

  1. Create the YUM repo file 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 /etc/yum.repos.d :

    sudo mv /tmp/openvino-2022.repo /etc/yum.repos.d
  3. Verify that the new repo is properly setup by running the following command:

    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

Intel® Distribution of OpenVINO™ toolkit will be installed in: /opt/intel/openvino_<VERSION>.<UPDATE>.<PATCH>

A symlink will be created: /opt/intel/openvino_<VERSION>

You can select one of the following procedures according to your need:

To Install the Latest Version

Run the following command:

sudo yum install openvino

To Install a Specific Version

Run the following command:

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

For example:

sudo yum install openvino-2022.1.0

To Check for Installed Packages and Version

Run the following command:

yum list installed 'openvino*'

To Uninstall the Latest Version

Run the following command:

sudo yum autoremove openvino

To Uninstall a Specific Version

Run the following command:

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

Step 3 (Optional): Install OpenCV from YUM

OpenCV is necessary to run C++ demos from Open Model Zoo. Some OpenVINO samples can also extend their capabilities when compiled with OpenCV as a dependency. OpenVINO provides a package to install OpenCV from YUM:

To Install the Latest Version of OpenCV

Run the following command:

sudo yum install openvino-opencv

To Install a Specific Version of OpenCV

Run the following command:

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

Step 4 (Optional): Install Software Dependencies

After you have installed OpenVINO Runtime, if you decided to install OpenVINO Model Development Tools, make sure that you install external software dependencies first.

Refer to Install External Software Dependencies for detailed steps.

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

To enable the toolkit components to use Intel® Gaussian & Neural Accelerator (GNA) on your system, follow the steps in GNA Setup Guide.

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

To perform inference on Intel® Neural Compute Stick 2 powered by the Intel® Movidius™ Myriad™ X VPU, follow the steps on NCS2 Setup Guide.

To install and configure your Intel® Vision Accelerator Design with Intel® Movidius™ VPUs, see the VPU Configuration Guide. After configuration is done, you are ready to run the verification scripts with the HDDL Plugin for your Intel® Vision Accelerator Design with Intel® Movidius™ VPUs.

Warning

While working with either HDDL or NCS, choose one of them as they cannot run simultaneously on the same machine.

What’s Next?

Now you may continue with the following tasks:

Additional Resources