4.5 KiB
Install Intel® Distribution of OpenVINO™ toolkit for Linux* Using APT Repository
This guide provides installation steps for Intel® Distribution of OpenVINO™ toolkit for Linux* distributed through the APT repository.
IMPORTANT: 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
<openvino_install_root>/licensingfolder for more details.
NOTE: Intel® Graphics Compute Runtime for OpenCL™ is not a part of OpenVINO™ APT distribution. You can install it from the Intel® Graphics Compute Runtime for OpenCL™ GitHub repo.
Set up the Repository
Install the GPG key for the repository
- Download the public key from https://apt.repos.intel.com/openvino/2021/GPG-PUB-KEY-INTEL-OPENVINO-2021 and save it to a file.
- Add this key to the system keyring:
sudo apt-key add <PATH_TO_DOWNLOADED_GPG_KEY>
- Check the list of APT keys running the following command:
sudo apt-key list
Add the APT Repository
Run the following command:
echo "deb https://apt.repos.intel.com/openvino/2021 all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2021.list
Update the list of packages
Run the update command:
sudo apt update
There are full release Runtime and Developer packages, and also some available components.
Runtime Packages
- Ubuntu 18.04:
intel-openvino-runtime-ubuntu18 - Ubuntu 20.04:
intel-openvino-runtime-ubuntu20
Developer Packages
- Ubuntu 18.04:
intel-openvino-dev-ubuntu18 - Ubuntu 20.04:
intel-openvino-dev-ubuntu20
Get the list of available packages
Run the apt-cache command to see a list of all available OpenVINO packages and components:
apt-cache search openvino
Examples
-
Runtime Packages
On Ubuntu 18.04:
sudo apt-cache search intel-openvino-runtime-ubuntu18On Ubuntu 20.04:
sudo apt-cache search intel-openvino-runtime-ubuntu20 -
Developer Packages
On Ubuntu 18.04:
sudo apt-cache search intel-openvino-dev-ubuntu18On Ubuntu 20.04:
sudo apt-cache search intel-openvino-dev-ubuntu20
Install the runtime or developer packages using the APT Package Manager
Intel® OpenVINO will be installed in: /opt/intel/openvino_<VERSION>.<UPDATE>.<BUILD_NUM>
A symlink will be created: /opt/intel/openvino
To Install a specific version
To get a list of OpenVINO packages available for installation:
sudo apt-cache search intel-openvino-runtime-ubuntu18
To install a specific version of an OpenVINO package:
sudo apt install intel-openvino-<PACKAGE_TYPE>-ubuntu<OS_VERSION>-<VERSION>.<UPDATE>.<BUILD_NUM>
Examples
-
Runtime Package
On Ubuntu 18.04:
sudo apt install intel-openvino-runtime-ubuntu18-2021.1.105On Ubuntu 20.04:
sudo apt install intel-openvino-runtime-ubuntu20-2021.1.105 -
Developer Package
On Ubuntu 18.04:sudo apt install intel-openvino-dev-ubuntu18-2021.1.105On Ubuntu 20.04:
sudo apt install intel-openvino-dev-ubuntu20-2021.1.105
To Uninstall a specific version
To uninstall a specific full runtime package:
sudo apt autoremove intel-openvino-<PACKAGE_TYPE>-ubuntu<OS_VERSION>-<VERSION>.<UPDATE>.<BUILD_NUM>
Additional Resources
- Intel® Distribution of OpenVINO™ toolkit home page: https://software.intel.com/en-us/openvino-toolkit.
- OpenVINO™ toolkit online documentation: https://docs.openvinotoolkit.org.
- Model Optimizer Developer Guide.
- Inference Engine Developer Guide.
- For more information on Sample Applications, see the Inference Engine Samples Overview.
- For information on Inference Engine Tutorials, see the Inference Tutorials.
- For IoT Libraries & Code Samples see the Intel® IoT Developer Kit.