Install OpenVINO™ Runtime on Linux Using YUM Repository¶
This guide provides installation steps for OpenVINO™ Runtime 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.
System Requirements¶
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¶
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
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
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¶
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
Uninstall OpenVINO Runtime¶
Run the following command:
sudo yum autoremove openvino
Run the following command:
sudo yum autoremove openvino-<VERSION>.<UPDATE>.<PATCH>
For example:
sudo yum autoremove openvino-2022.3.0
Step 3 (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 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.
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.
What’s Next?¶
Now you may continue with the following tasks:
To convert models for use with OpenVINO, see Model Optimizer Developer Guide.
See pre-trained deep learning models in our Open Model Zoo.
Try out OpenVINO via OpenVINO Notebooks.
To write your own OpenVINO™ applications, see OpenVINO Runtime User Guide.
See sample applications in OpenVINO™ Samples Overview.
Additional Resources¶
OpenVINO™ home page: https://software.intel.com/en-us/openvino-toolkit
For IoT Libraries & Code Samples, see Intel® IoT Developer Kit.