Files
openvino/docs/install_guides/installing-openvino-apt.md
Ilya Lavrenov a883dc0b85 DOCS: ported changes from 2022.1 release branch (#11206)
* Extensibility guide with FE extensions and remove OV_FRAMEWORK_MAP from docs

* Rework of Extensibility Intro, adopted examples to missing OPENVINO_FRAMEWORK_MAP

* Removed OPENVINO_FRAMEWORK_MAP reference

* Frontend extension detailed documentation

* Fixed distributed snippets

* Fixed snippet inclusion in FE extension document and chapter headers

* Fixed wrong name in a snippet reference

* Fixed test for template extension due to changed number of loaded extensions

* Update docs/Extensibility_UG/frontend_extensions.md

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>

* Minor fixes in extension snippets

* Small grammar fix

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>

* DOCS: transition banner (#10973)

* transition banner

* minor fix

* update transition banner

* updates

* update custom.js

* updates

* updates

* Documentation fixes (#11044)

* Benchmark app usage

* Fixed link to the devices

* More fixes

* Update docs/OV_Runtime_UG/multi_device.md

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* Removed several hardcoded links

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* Updated documentation for compile_tool (#11049)

* Added deployment guide (#11060)

* Added deployment guide

* Added local distribution

* Updates

* Fixed more indentations

* Removed obsolete code snippets (#11061)

* Removed obsolete code snippets

* NCC style

* Fixed NCC for BA

* Add a troubleshooting issue for PRC installation (#11074)

* updates

* adding gna to linux

* add missing reference

* update

* Update docs/install_guides/installing-model-dev-tools.md

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* Update docs/install_guides/installing-model-dev-tools.md

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* Update docs/install_guides/installing-model-dev-tools.md

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* Update docs/install_guides/installing-model-dev-tools.md

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* Update docs/install_guides/installing-model-dev-tools.md

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* update

* minor updates

* add gna item to yum and apt

* add gna to get started page

* update reference formatting

* merge commit

* add a troubleshooting issue

* update

* update

* fix CVS-71846

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* DOCS: fixed hardcoded links  (#11100)

* Fixes

* Use links

* applying reviewers comments to the Opt Guide (#11093)

* applying reviewrs comments

* fixed refs, more structuring (bold, bullets, etc)

* refactoring tput/latency sections

* next iteration (mostly latency), also brushed the auto-batching and other sections

* updates sync/async images

* common opts brushed

* WIP tput redesigned

* minor brushing of common and auto-batching

* Tput fully refactored

* fixed doc name in the link

* moved int8 perf counters to the right section

* fixed links

* fixed broken quotes

* fixed more links

* add ref to the internals to the TOC

* Added a note on the batch size

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* [80085] New images for docs (#11114)

* change doc structure

* fix manager tools

* fix manager tools 3 step

* fix manager tools 3 step

* new img

* new img for OV Runtime

* fix steps

* steps

* fix intendents

* change list

* fix space

* fix space

* code snippets fix

* change display

* Benchmarks 2022 1 (#11130)

* Minor fixes

* Updates for 2022.1

* Edits according to the review

* Edits according to review comments

* Edits according to review comments

* Edits according to review comments

* Fixed table

* Edits according to review comments

* Removed config for Intel® Core™ i7-11850HE

* Removed forward-tacotron-duration-prediction-241 graph

* Added resnet-18-pytorch

* Add info about Docker images in Deployment guide (#11136)

* Renamed user guides (#11137)

* fix screenshot (#11140)

* More conservative recommendations on dynamic shapes usage in docs (#11161)

* More conservative recommendations about using dynamic shapes

* Duplicated statement from C++ part to Python part of reshape doc (no semantical changes)

* Update ShapeInference.md (#11168)

* Benchmarks 2022 1 updates (#11180)

* Updated graphs

* Quick fix for TODO in Dynamic Shapes article

* Anchor link fixes

* Fixed DM config (#11199)

* DOCS: doxy sphinxtabs (#11027)

* initial implementation of doxy sphinxtabs

* fixes

* fixes

* fixes

* fixes

* fixes

* WA for ignored visibility attribute

* Fixes

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
Co-authored-by: Maxim Shevtsov <maxim.y.shevtsov@intel.com>
Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
Co-authored-by: Ilya Naumov <ilya.naumov@intel.com>
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2022-03-24 22:27:29 +03:00

6.7 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.

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.

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 <INSTALL_DIR>/licensing folder for more details.

System Requirements

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

Operating Systems

  • Ubuntu 18.04 long-term support (LTS), 64-bit
  • Ubuntu 20.04 long-term support (LTS), 64-bit

Software

Install OpenVINO Runtime

Step 1: Set Up the OpenVINO Toolkit APT Repository

  1. Install the GPG key for the repository

    a. Download the GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB. You can also use the following command:

    wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
    

    b. Add this key to the system keyring:

    sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
    

    Note

    : You might need to install GnuPG: sudo apt-get install gnupg

  2. Add the repository via the following command: @sphinxdirective

.. tab:: Ubuntu 18

.. code-block:: sh

  echo "deb https://apt.repos.intel.com/openvino/2022 bionic main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2022.list

.. tab:: Ubuntu 20

.. code-block:: sh

  echo "deb https://apt.repos.intel.com/openvino/2022 focal main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2022.list

@endsphinxdirective

  1. Update the list of packages via the update command:
sudo apt update
  1. Verify that the APT repository is properly set up. Run the apt-cache command to see a list of all available OpenVINO packages and components:
apt-cache search openvino

Step 2: Install OpenVINO Runtime Using the APT Package Manager

OpenVINO will be installed in: /opt/intel/openvino_<VERSION>.<UPDATE>.<PATCH>

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

To Install the Latest Version

Run the following command:

sudo apt install openvino

To Install a Specific Version

  1. Get a list of OpenVINO packages available for installation:
sudo apt-cache search openvino
  1. Install a specific version of an OpenVINO package:
sudo apt install openvino-<VERSION>.<UPDATE>.<PATCH>
For example:
sudo apt install openvino-2022.1.0

To Check for Installed Packages and Versions

Run the following command:

apt list --installed | grep openvino

To Uninstall the Latest Version

Run the following command:

sudo apt autoremove openvino

To Uninstall a Specific Version

Run the following command:

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

Step 3 (Optional): Install OpenCV from APT

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 APT:

To Install the Latest Version of OpenCV

Run the following command:

sudo apt install openvino-opencv

To Install a Specific Version of OpenCV

Run the following command:

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

Step 4 (Optional): Install Software Dependencies

After you have installed OpenVINO Runtime, if you decided to install OpenVINO 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

@sphinxdirective

.. tab:: GNA

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

.. tab:: GPU

To enable the toolkit components to use processor graphics (GPU) on your system, follow the steps in :ref:GPU Setup Guide <gpu guide>.

.. tab:: NCS 2

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

.. tab:: VPU

To install and configure your Intel® Vision Accelerator Design with Intel® Movidius™ VPUs, see the :ref:VPU Configuration Guide <vpu 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.

@endsphinxdirective

What's Next?

Now you may continue with the following tasks:

Additional Resources