Install OpenVINO™ Runtime on Linux from Installer¶
Since the OpenVINO™ 2022.1 release, the following development tools: Model Optimizer, Post-Training Optimization Tool, Model Downloader and other Open Model Zoo tools, Accuracy Checker, and Annotation Converter are not part of the installer. These tools are now only available on pypi.org.
You can also check the Release Notes for more information on updates in this release.
Ubuntu 18.04 long-term support (LTS), 64-bit
Ubuntu 20.04 long-term support (LTS), 64-bit
Since the OpenVINO™ 2022.1 release, CentOS 7.6, 64-bit is not longer supported.
Optimized for these processors:
6th to 12th generation Intel® Core™ processors and Intel® Xeon® processors
3rd generation Intel® Xeon® Scalable processor (formerly code named Cooper Lake)
Intel® Xeon® Scalable processor (formerly Skylake and Cascade Lake)
Intel Atom® processor with support for Intel® Streaming SIMD Extensions 4.1 (Intel® SSE4.1)
Intel Pentium® processor N4200/5, N3350/5, or N3450/5 with Intel® HD Graphics
Intel® Iris® Xe MAX Graphics
Intel® Neural Compute Stick 2
Intel® Vision Accelerator Design with Intel® Movidius™ VPUs
Processor graphics are not included in all processors. See Product Specifications for information about your processor.
GCC 7.5.0 (for Ubuntu 18.04) or GCC 9.3.0 (for Ubuntu 20.04)
This guide provides step-by-step instructions on how to install the Intel® Distribution of OpenVINO™ toolkit. Links are provided for each type of compatible hardware including downloads, initialization and configuration steps. The following steps will be covered:
Before you start your journey with installation of the Intel® Distribution of OpenVINO™, we encourage you to check our code samples in C, C++, Python and notebook tutorials that we prepared for you, so you could see all the amazing things that you can achieve with our tool.
Step 1: Install the Intel® Distribution of OpenVINO™ Toolkit¶
Select and download the Intel® Distribution of OpenVINO™ toolkit installer file from Intel® Distribution of OpenVINO™ toolkit for Linux.
Open a command prompt terminal window. You can use the keyboard shortcut: Ctrl+Alt+T
Change directories to where you downloaded the Intel Distribution of OpenVINO™ toolkit for Linux file.
If you downloaded the starter script to the current user’s
You should find there a bootstrapper script
Add executable rights for the current user:
chmod +x l_openvino_toolkit_p_<version>.sh
If you want to use graphical user interface (GUI) installation wizard, run the script without any parameters:
You should see the following dialog box open up:
Otherwise, you can add parameters
-afor additional arguments and
--clito run installation in command line (CLI):
./l_openvino_toolkit_p_<version>.sh -a --cli
To get additional information on all parameters that can be used, use the help option:
--help. Among others, you can find there
-soption which offers silent mode, which together with
--eula approveallows you to run whole installation with default values without any user inference.
Follow the instructions on your screen. During the installation you will be asked to accept the license agreement. Your acceptance is required to continue. Check the installation process on the image below:
Click on the image to see the details.
By default, the Intel® Distribution of OpenVINO™ is installed to the following directory, referred to as
<INSTALL_DIR> elsewhere in the documentation:
For root or administrator:
For regular users:
For simplicity, a symbolic link to the latest installation is also created:
The core components are now installed. Continue to the next section to install additional dependencies.
Step 2: Install External Software Dependencies¶
This script enables you to install Linux platform development tools and components to work with the product.
Go to the
Run a script to download and install the external software dependencies:
sudo -E ./install_openvino_dependencies.sh
Once the dependencies are installed, continue to the next section to set your environment variables.
Step 3: Configure the Environment¶
You must update several environment variables before you can compile and run OpenVINO™ applications. Set environment variables as follows:
If you have more than one OpenVINO™ version on your machine, you can easily switch its version by sourcing
setupvars.sh of your choice.
You can also run this script every time when you start new terminal session. Open
~/.bashrc in your favorite editor, and add
source <INSTALL_DIR>/setupvars.sh. Next time when you open a terminal, you will see
[setupvars.sh] OpenVINO™ environment initialized. Changing
.bashrc is not recommended when you have many OpenVINO™ versions on your machine and want to switch among them, as each may require different setup.
The environment variables are set. Next, you can download some additional tools.
Step 4 (Optional): Download Additional Components¶
Since the OpenVINO™ 2022.1 release, the following development tools: Model Optimizer, Post-Training Optimization Tool, Model Downloader and other Open Model Zoo tools, Accuracy Checker, and Annotation Converter are not part of the installer. The OpenVINO™ Development Tools can only be installed via PyPI now. See Install OpenVINO™ Development Tools for detailed steps.
OpenCV is necessary to run demos from Open Model Zoo (OMZ). Some OpenVINO samples can also extend their capabilities when compiled with OpenCV as a dependency. The Intel® Distribution of OpenVINO™ provides a script to install OpenCV:
Make sure you have 2 prerequisites installed:
Depending on how you have installed the Intel® Distribution of OpenVINO™, the script should be run either as root or regular user. After the execution of the script, you will find OpenCV extracted to
Step 5 (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.
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.
While working with either HDDL or NCS, choose one of them as they cannot run simultaneously on the same machine.
To enable the toolkit components to use Intel® Gaussian & Neural Accelerator (GNA) on your system, follow the steps in GNA Setup Guide.
Step 6: What’s Next?¶
Now you are ready to try out the toolkit.
Start with some Python tutorials:
To start with C++ samples, see Build Sample Applications on Linux first, and then you can try the following samples:
Uninstalling the Intel® Distribution of OpenVINO™ Toolkit¶
To uninstall the toolkit, follow the steps on the Uninstalling page.
Troubleshooting Guide for OpenVINO Installation & Configuration
Converting models for use with OpenVINO™: Model Optimizer User Guide
Writing your own OpenVINO™ applications: OpenVINO™ Runtime User Guide
Sample applications: OpenVINO™ Toolkit Samples Overview
Pre-trained deep learning models: Overview of OpenVINO™ Toolkit Pre-Trained Models
IoT libraries and code samples in the GitHUB repository: Intel® IoT Developer Kit