DOCS: Reintroducing APT and YUM installation methods - porting #14492 to master (#14598)

* reintroducing apt and yum

* fix indents and create tabs

fixing indent in apt
creating tabs in yum article

* Update installing-openvino-yum.md

* tabbed content

Inserting installation steps into tabs.
Correcting formatting.

* correcting indents

* correct indent

* indent fix

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

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* removing non-cpu dev

Removing GNA, NCS2, VPU from Step 5 in YUM article.
Correcting links to Python.

* add apt and yum for installation

* revising openvino-dev installation

* removing opencv from apt

* remove opencv from yum

* removing non-cpu devs

* Update installing-model-dev-tools.md

* update disclaimer

* openvino development tools

correcting the name

* build samples sections

* add architecture

* remove install details yum

* remove install details apt

* reflink fix

* removing ncs2

* add dependencies

* install parametere

* move note

* Update installing-model-dev-tools.md

* Update installing-openvino-apt.md

* Update installing-openvino-yum.md

* Update docs/install_guides/installing-openvino-apt.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/install_guides/installing-openvino-apt.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/install_guides/installing-openvino-yum.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

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

* Update installing-openvino-apt.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
This commit is contained in:
Sebastian Golebiewski 2022-12-13 10:03:49 +01:00 committed by GitHub
parent 347e844153
commit 3e0ea0ac93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 487 additions and 70 deletions

View File

@ -18,6 +18,7 @@ Once the prerequisites have been installed, perform the following steps:
To use sample applications, install OpenVINO Runtime via one of the following distribution channels (other distributions do not include sample files): To use sample applications, install OpenVINO Runtime via one of the following distribution channels (other distributions do not include sample files):
* Archive files (recommended) - [Linux](@ref openvino_docs_install_guides_installing_openvino_from_archive_linux) | [Windows](@ref openvino_docs_install_guides_installing_openvino_from_archive_windows) | [macOS](@ref openvino_docs_install_guides_installing_openvino_from_archive_macos) * Archive files (recommended) - [Linux](@ref openvino_docs_install_guides_installing_openvino_from_archive_linux) | [Windows](@ref openvino_docs_install_guides_installing_openvino_from_archive_windows) | [macOS](@ref openvino_docs_install_guides_installing_openvino_from_archive_macos)
* [APT](@ref openvino_docs_install_guides_installing_openvino_apt) or [YUM](@ref openvino_docs_install_guides_installing_openvino_yum) for Linux
* Docker image - [Linux](@ref openvino_docs_install_guides_installing_openvino_docker_linux) | [Windows](@ref openvino_docs_install_guides_installing_openvino_docker_windows) * Docker image - [Linux](@ref openvino_docs_install_guides_installing_openvino_docker_linux) | [Windows](@ref openvino_docs_install_guides_installing_openvino_docker_windows)
* [Build from source](https://github.com/openvinotoolkit/openvino/wiki/BuildingCode) * [Build from source](https://github.com/openvinotoolkit/openvino/wiki/BuildingCode)

View File

@ -10,7 +10,7 @@ OpenVINO Development Tools is a set of utilities that make it easy to develop an
The instructions on this page show how to install OpenVINO Development Tools. If you are a Python developer, it only takes a few simple steps to install the tools with PyPI. If you are developing in C++, OpenVINO Runtime must be installed separately before installing OpenVINO Development Tools. The instructions on this page show how to install OpenVINO Development Tools. If you are a Python developer, it only takes a few simple steps to install the tools with PyPI. If you are developing in C++, OpenVINO Runtime must be installed separately before installing OpenVINO Development Tools.
In both cases, Python 3.6 - 3.10 need be installed on your machine before starting. In both cases, Python 3.7 - 3.10 needs to be installed on your machine before starting.
> **NOTE**: From the 2022.1 release, the OpenVINO™ Development Tools can only be installed via PyPI. > **NOTE**: From the 2022.1 release, the OpenVINO™ Development Tools can only be installed via PyPI.
@ -57,19 +57,19 @@ Activate the newly created Python virtual environment by issuing this command:
.. tab:: Linux and macOS .. tab:: Linux and macOS
.. code-block:: sh .. code-block:: sh
source openvino_env/bin/activate source openvino_env/bin/activate
.. tab:: Windows .. tab:: Windows
.. code-block:: sh .. code-block:: sh
openvino_env\Scripts\activate openvino_env\Scripts\activate
.. important:: .. important::
The above command must be re-run every time a new command terminal window is opened. The above command must be re-run every time a new command terminal window is opened.
@endsphinxdirective @endsphinxdirective
@ -91,65 +91,75 @@ Note that the commands are different for a Python installation and a C++ install
.. tab:: Python .. tab:: Python
To install and configure the components of the development package for working with specific frameworks, use the following command: To install OpenVINO Development Tools into the existing environment with the deep learning framework of your choice, run the following command:
.. code-block:: sh .. code-block:: sh
pip install openvino-dev[extras] pip install openvino-dev
where the `extras` parameter specifies one or more deep learning frameworks via these values: `caffe`, `kaldi`, `mxnet`, `onnx`, `pytorch`, `tensorflow`, `tensorflow2`. Make sure that you install the corresponding frameworks for your models. In case that you encounter any compatibility issues between OpenVINO and your deep learning framework, you may install OpenVINO Development Tools into a separate environment. Use the following command to get specific validated versions of your framework:
For example, to install and configure the components for working with TensorFlow 2.x and ONNX, use the following command:
.. code-block:: sh .. code-block:: sh
pip install openvino-dev[extras]
where the `extras` parameter specifies one or more deep learning frameworks via these values: `caffe`, `kaldi`, `mxnet`, `onnx`, `pytorch`, `tensorflow`, `tensorflow2`. Make sure that you install the corresponding frameworks for your models.
For example, to install and configure the components for working with TensorFlow 2.x and ONNX, use the following command:
.. code-block:: sh
pip install openvino-dev[tensorflow2,onnx] pip install openvino-dev[tensorflow2,onnx]
.. note:: .. note::
Model Optimizer support for TensorFlow 1.x environment has been deprecated. Use the `tensorflow2` parameter to install a TensorFlow 2.x environment that can convert both TensorFlow 1.x and 2.x models. If your model isn't compatible with the TensorFlow 2.x environment, use the `tensorflow` parameter to install the TensorFlow 1.x environment. The TF 1.x environment is provided only for legacy compatibility reasons. Model Optimizer support for TensorFlow 1.x environment has been deprecated. Use the `tensorflow2` parameter to install a TensorFlow 2.x environment that can convert both TensorFlow 1.x and 2.x models. If your model isn't compatible with the TensorFlow 2.x environment, use the `tensorflow` parameter to install the TensorFlow 1.x environment. The TF 1.x environment is provided only for legacy compatibility reasons.
.. tab:: C++ .. tab:: C++
When using OpenVINO Development Tools for C++ development, its important to install the same version as OpenVINO Runtime. Following the instructions below will ensure that you are installing a version that matches that of OpenVINO Runtime. When using OpenVINO Development Tools for C++ development, its important to install the same version as OpenVINO Runtime. Following the instructions below will ensure that you are installing a version that matches that of OpenVINO Runtime.
**Recommended: Install Using the Requirements Files** **Recommended: Install Using the Requirements Files**
After you have installed OpenVINO Runtime from an archive file, you can find a set of requirements files in the <INSTALL_DIR>\tools\ directory. The requirements files will install the matching version of OpenVINO Development Tools and its dependencies.
After you have installed OpenVINO Runtime from an archive file, you can find a set of requirements files in the <INSTALL_DIR>\tools\ directory. The requirements files will install the matching version of OpenVINO Development Tools and its dependencies.
1. Install the OpenVINO Development Tools mandatory requirements using the following command:
1. Install the OpenVINO Development Tools mandatory requirements using the following command:
.. code-block:: sh
pip install -r <INSTALL_DIR>\tools\requirements.txt
2. If you are using additional frameworks, you must also install the requirements for those frameworks using the corresponding requirements file. For example, if you are using a TensorFlow model, use the following command to install requirements for TensorFlow:
.. code-block:: sh
pip install -r <INSTALL_DIR>\tools\requirements_tensorflow2.txt
**Alternative: Install the openvino-dev Package from PyPI**
You can also install OpenVINO Development Tools from PyPI using the following command.
.. important::
Make sure that the `openvino-dev` version you specified matches your installed version of OpenVINO Runtime. Otherwise, compatibility errors are likely to occur.
.. code-block:: sh .. code-block:: sh
pip install -r <INSTALL_DIR>\tools\requirements.txt pip install openvino-dev[EXTRAS]==2022.3.0
2. If you are using additional frameworks, you must also install the requirements for those frameworks using the corresponding requirements file. For example, if you are using a TensorFlow model, use the following command to install requirements for TensorFlow: where the EXTRAS parameter specifies one or more deep learning frameworks via these values: caffe, kaldi, mxnet, onnx, pytorch, tensorflow, tensorflow2. Make sure that you install the corresponding frameworks for your models. For example:
.. code-block:: sh .. code-block:: sh
pip install -r <INSTALL_DIR>\tools\requirements_tensorflow2.txt pip install openvino-dev[tensorflow2,onnx]==2022.3.0
**Alternative: Install the openvino-dev Package from PyPI**
You can also install OpenVINO Development Tools from PyPI using the following command.
.. important::
Make sure to specify the `openvino-dev` version that matches your installed version of OpenVINO Runtime. Otherwise, compatibility errors are likely to occur.
.. code-block:: sh
pip install openvino-dev[EXTRAS]==2022.2
where the EXTRAS parameter specifies one or more deep learning frameworks via these values: caffe, kaldi, mxnet, onnx, pytorch, tensorflow, tensorflow2. Make sure that you install the corresponding frameworks for your models. For example:
.. code-block:: sh
pip install openvino-dev[tensorflow2,onnx]==2022.2
.. note:: .. note::
Model Optimizer support for TensorFlow 1.x environment has been deprecated. Use the `tensorflow2` parameter or to install a TensorFlow 2.x environment that can convert both TensorFlow 1.x and 2.x models. If your model isn't compatible with the TensorFlow 2.x environment, use the `tensorflow` parameter to install the TensorFlow 1.x environment. The TF 1.x environment is provided only for legacy compatibility reasons. Model Optimizer support for TensorFlow 1.x environment has been deprecated. Use the `tensorflow2` parameter or to install a TensorFlow 2.x environment that can convert both TensorFlow 1.x and 2.x models. If your model isn't compatible with the TensorFlow 2.x environment, use the `tensorflow` parameter to install the TensorFlow 1.x environment. The TF 1.x environment is provided only for legacy compatibility reasons.
@endsphinxdirective @endsphinxdirective
For more details on the openvino-dev PyPI package, see https://pypi.org/project/openvino-dev/. For more details on the openvino-dev PyPI package, see https://pypi.org/project/openvino-dev/.
### Step 4. Test the Installation ### Step 4. Test the Installation
@ -170,12 +180,12 @@ Learn more about OpenVINO and use it in your own application by trying out some
### Get started with Python ### Get started with Python
<img src="https://user-images.githubusercontent.com/15709723/127752390-f6aa371f-31b5-4846-84b9-18dd4f662406.gif" width=400> <img src="https://user-images.githubusercontent.com/15709723/127752390-f6aa371f-31b5-4846-84b9-18dd4f662406.gif" width=400>
Try the [Python Quick Start Example](https://docs.openvino.ai/2022.2/notebooks/201-vision-monodepth-with-output.html) to estimate depth in a scene using an OpenVINO monodepth model in a Jupyter Notebook inside your web browser. Try the [Python Quick Start Example](https://docs.openvino.ai/nightly/notebooks/201-vision-monodepth-with-output.html) to estimate depth in a scene using an OpenVINO monodepth model in a Jupyter Notebook inside your web browser.
Visit the [Tutorials](../tutorials.md) page for more Jupyter Notebooks to get you started with OpenVINO, such as: Visit the [Tutorials](../tutorials.md) page for more Jupyter Notebooks to get you started with OpenVINO, such as:
* [OpenVINO Python API Tutorial](https://docs.openvino.ai/2022.2/notebooks/002-openvino-api-with-output.html) * [OpenVINO Python API Tutorial](https://docs.openvino.ai/nightly/notebooks/002-openvino-api-with-output.html)
* [Basic image classification program with Hello Image Classification](https://docs.openvino.ai/2022.2/notebooks/001-hello-world-with-output.html) * [Basic image classification program with Hello Image Classification](https://docs.openvino.ai/nightly/notebooks/001-hello-world-with-output.html)
* [Convert a PyTorch model and use it for image background removal](https://docs.openvino.ai/2022.2/notebooks/205-vision-background-removal-with-output.html) * [Convert a PyTorch model and use it for image background removal](https://docs.openvino.ai/nightly/notebooks/205-vision-background-removal-with-output.html)
### Get started with C++ ### Get started with C++
<img src="https://user-images.githubusercontent.com/36741649/127170593-86976dc3-e5e4-40be-b0a6-206379cd7df5.jpg" width=400> <img src="https://user-images.githubusercontent.com/36741649/127170593-86976dc3-e5e4-40be-b0a6-206379cd7df5.jpg" width=400>

View File

@ -1,10 +1,224 @@
# Install OpenVINO™ Runtime for Linux Using APT Repository # Install Intel® Distribution of OpenVINO™ Toolkit for Linux Using APT Repository {#openvino_docs_install_guides_installing_openvino_apt}
Currently only the following ways are provided to install OpenVINO™: This guide provides detailed steps for installing OpenVINO™ Runtime through the APT repository and guidelines for installing OpenVINO Development Tools.
* [Install OpenVINO Runtime from an Archive File](installing-openvino-from-archive-linux.md) > **NOTE**: From the 2022.1 release, OpenVINO™ Development Tools can be installed via PyPI only. See [Install OpenVINO Development Tools](#installing-openvino-development-tools) for more information.
* [Install OpenVINO from PyPI](installing-openvino-pip.md)
* [Install OpenVINO with Docker](installing-openvino-docker-linux.md)
* [Build From Source](https://github.com/openvinotoolkit/openvino/wiki/BuildingCode)
The other installation methods are temporarily unavailable. > **IMPORTANT**: By downloading and using this container and the included software, you agree to the terms and conditions of the [software license agreements](https://software.intel.com/content/dam/develop/external/us/en/documents/intel-openvino-license-agreements.pdf).
## System Requirements
@sphinxdirective
.. tab:: Operating Systems
* Ubuntu 18.04 long-term support (LTS) x86, 64-bit
* Ubuntu 20.04 long-term support (LTS) x86, 64-bit
.. tab:: Hardware
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
.. tab:: Processor Notes
Processor graphics are not included in all processors.
See `Product Specifications`_ for information about your processor.
.. _Product Specifications: https://ark.intel.com/
.. tab:: Software
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`_
* GCC 7.5.0 (for Ubuntu 18.04) or GCC 9.3.0 (for Ubuntu 20.04)
* `Python 3.7 - 3.10, 64-bit <https://www.python.org/downloads/>`_
@endsphinxdirective
## Installing 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](https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB).
You can also use the following command:
```sh
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
```
b. Add this key to the system keyring:
```sh
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
3. Update the list of packages via the update command:
```sh
sudo apt update
```
4. 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:
```sh
apt-cache search openvino
```
### Step 2: Install OpenVINO Runtime Using the APT Package Manager
#### Install OpenVINO Runtime
@sphinxdirective
.. tab:: The Latest Version
Run the following command:
.. code-block:: sh
sudo apt install openvino
.. tab:: A Specific Version
1. Get a list of OpenVINO packages available for installation:
.. code-block:: sh
sudo apt-cache search openvino
2. Install a specific version of an OpenVINO package:
.. code-block:: sh
sudo apt install openvino-<VERSION>.<UPDATE>.<PATCH>
For example:
.. code-block:: sh
sudo apt install openvino-2022.3.0
.. note::
You can use `--no-install-recommends` option to install only required packages. Keep in mind that the build tools must be installed **separately** if you want to compile the samples.
@endsphinxdirective
#### Check for Installed Packages and Versions
Run the following command:
```sh
apt list --installed | grep openvino
```
#### Uninstall OpenVINO Runtime
@sphinxdirective
.. tab:: The Latest Version
Run the following command:
.. code-block:: sh
sudo apt autoremove openvino
.. tab:: A Specific Version
Run the following command:
.. code-block:: sh
sudo apt autoremove openvino-<VERSION>.<UPDATE>.<PATCH>
For example:
.. code-block:: sh
sudo apt autoremove openvino-2022.3.0
@endsphinxdirective
### Step 3 (Optional): Install Software Dependencies
After you have installed OpenVINO Runtime, if you decided to [install OpenVINO Model Development Tools](installing-model-dev-tools.md), make sure that you install external software dependencies first.
Refer to <a href="openvino_docs_install_guides_installing_openvino_linux.html#install-external-dependencies">Install External Software Dependencies</a> 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](@ref openvino_docs_install_guides_configurations_for_intel_gpu).
### Step 5: Build Samples
To build the C++ or C sample applications for Linux, run the `build_samples.sh` script:
@sphinxdirective
.. tab:: C++
.. code-block:: sh
/usr/share/openvino/samples/cpp/build_samples.sh
.. tab:: C
.. code-block:: sh
/usr/share/openvino/samples/c/build_samples.sh
@endsphinxdirective
For more information, refer to <a href="openvino_docs_OV_UG_Samples_Overview.html#build-samples-linux">Build the Sample Applications on Linux</a>.
## Installing OpenVINO Development Tools
> **NOTE**: From the 2022.1 release, the OpenVINO™ Development Tools can be installed via PyPI only.
To install OpenVINO Development Tools, do the following steps:
1. [Install OpenVINO Runtime](#installing-openvino-runtime) if you haven't done it yet.
2. <a href="openvino_docs_install_guides_installing_openvino_linux.html#install-external-dependencies">Install External Software Dependencies</a>.
3. See the **For C++ Developers** section in [Install OpenVINO Development Tools](installing-model-dev-tools.md) for detailed steps.
## What's Next?
Now you may continue with the following tasks:
* To convert models for use with OpenVINO, see [Model Optimizer Developer Guide](../MO_DG/Deep_Learning_Model_Optimizer_DevGuide.md).
* See pre-trained deep learning models in our [Open Model Zoo](../model_zoo.md).
* Try out OpenVINO via [OpenVINO Notebooks](https://docs.openvino.ai/nightly/notebooks/notebooks.html).
* To write your own OpenVINO™ applications, see [OpenVINO Runtime User Guide](../OV_Runtime_UG/openvino_intro.md).
* See sample applications in [OpenVINO™ Toolkit Samples Overview](../OV_Runtime_UG/Samples_Overview.md).
## Additional Resources
- Intel® Distribution of OpenVINO™ toolkit home page: <https://software.intel.com/en-us/openvino-toolkit>.
- For IoT Libraries & Code Samples see the [Intel® IoT Developer Kit](https://github.com/intel-iot-devkit).

View File

@ -8,6 +8,8 @@
From Archive <openvino_docs_install_guides_installing_openvino_from_archive_linux> From Archive <openvino_docs_install_guides_installing_openvino_from_archive_linux>
From PyPI <openvino_docs_install_guides_installing_openvino_pip> From PyPI <openvino_docs_install_guides_installing_openvino_pip>
From APT <openvino_docs_install_guides_installing_openvino_apt>
From YUM <openvino_docs_install_guides_installing_openvino_yum>
Using Docker <openvino_docs_install_guides_installing_openvino_docker_linux> Using Docker <openvino_docs_install_guides_installing_openvino_docker_linux>
@endsphinxdirective @endsphinxdirective
@ -16,5 +18,7 @@ If you want to install OpenVINO™ Runtime on your Linux machine, there are a fe
* [Install OpenVINO Runtime from an Archive File](installing-openvino-from-archive-linux.md) * [Install OpenVINO Runtime from an Archive File](installing-openvino-from-archive-linux.md)
* [Install OpenVINO from PyPI](installing-openvino-pip.md) * [Install OpenVINO from PyPI](installing-openvino-pip.md)
* [Install OpenVINO Runtime from APT](installing-openvino-apt.md)
* [Install OpenVINO Runtime from YUM](installing-openvino-yum.md)
* [Install OpenVINO with Docker](installing-openvino-docker-linux.md) * [Install OpenVINO with Docker](installing-openvino-docker-linux.md)

View File

@ -50,7 +50,7 @@ OpenVINO Runtime may also be installed on its own without OpenVINO Development T
The following methods are available to install OpenVINO Runtime: The following methods are available to install OpenVINO Runtime:
* Linux: You can install OpenVINO Runtime using archive files or Docker. See [Install OpenVINO on Linux](installing-openvino-linux-header.md). * Linux: You can install OpenVINO Runtime using APT, YUM, archive files or Docker. See [Install OpenVINO on Linux](installing-openvino-linux-header.md).
* Windows: You can install OpenVINO Runtime using archive files or Docker. See [Install OpenVINO on Windows](installing-openvino-windows-header.md). * Windows: You can install OpenVINO Runtime using archive files or Docker. See [Install OpenVINO on Windows](installing-openvino-windows-header.md).
* macOS: You can install OpenVINO Runtime using archive files or Docker. See [Install OpenVINO on macOS](installing-openvino-macos-header.md). * macOS: You can install OpenVINO Runtime using archive files or Docker. See [Install OpenVINO on macOS](installing-openvino-macos-header.md).
* [Raspbian OS](installing-openvino-raspbian.md) * [Raspbian OS](installing-openvino-raspbian.md)

View File

@ -1,10 +1,198 @@
# Install OpenVINO™ Runtime on Linux Using YUM Repository # Install OpenVINO™ Runtime on Linux Using YUM Repository {#openvino_docs_install_guides_installing_openvino_yum}
Currently only the following ways are provided to install OpenVINO™: This guide provides installation steps for OpenVINO™ Runtime for Linux distributed through the YUM repository.
* [Install OpenVINO Runtime from an Archive File](installing-openvino-from-archive-linux.md) > **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](installing-model-dev-tools.md) for detailed steps.
* [Install OpenVINO from PyPI](installing-openvino-pip.md)
* [Install OpenVINO with Docker](installing-openvino-docker-linux.md)
* [Build From Source](https://github.com/openvinotoolkit/openvino/wiki/BuildingCode)
The other installation methods are temporarily unavailable. > **IMPORTANT**: By downloading and using this container and the included software, you agree to the terms and conditions of the [software license agreements](https://software.intel.com/content/dam/develop/external/us/en/documents/intel-openvino-license-agreements.pdf).
## System Requirements
@sphinxdirective
.. tab:: Operating Systems
* Red Hat Enterprise Linux 8 x86, 64-bit
.. tab:: Hardware
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
.. tab:: Processor Notes
Processor graphics are not included in all processors.
See `Product Specifications`_ for information about your processor.
.. _Product Specifications: https://ark.intel.com/
.. tab:: Software
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`_
* GCC 8.2.0
* `Python 3.7 - 3.10, 64-bit <https://www.python.org/downloads/>`_
@endsphinxdirective
## 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`:
```sh
sudo mv /tmp/openvino-2022.repo /etc/yum.repos.d
```
3. Verify that the new repo is properly setup by running the following command:
```sh
yum repolist | grep -i openvino
```
You will see the available list of packages.
To list available OpenVINO packages, use the following command:
@sphinxdirective
.. code-block:: sh
yum list 'openvino*'
@endsphinxdirective
### Step 2: Install OpenVINO Runtime Using the YUM Package Manager
#### Install OpenVINO Runtime
@sphinxdirective
.. tab:: The Latest Version
Run the following command:
.. code-block:: sh
sudo yum install openvino
.. tab:: A Specific Version
Run the following command:
.. code-block:: sh
sudo yum install openvino-<VERSION>.<UPDATE>.<PATCH>
For example:
.. code-block:: sh
sudo yum install openvino-2022.3.0
@endsphinxdirective
#### Check for Installed Packages and Version
Run the following command:
@sphinxdirective
.. code-block:: sh
yum list installed 'openvino*'
@endsphinxdirective
#### Uninstall OpenVINO Runtime
@sphinxdirective
.. tab:: The Latest Version
Run the following command:
.. code-block:: sh
sudo yum autoremove openvino
.. tab:: A Specific Version
Run the following command:
.. code-block:: sh
sudo yum autoremove openvino-<VERSION>.<UPDATE>.<PATCH>
For example:
.. code-block:: sh
sudo yum autoremove openvino-2022.3.0
@endsphinxdirective
### Step 3 (Optional): Install Software Dependencies
After you have installed OpenVINO Runtime, if you decided to [install OpenVINO Model Development Tools](installing-model-dev-tools.md), make sure that you install external software dependencies first.
Refer to <a href="openvino_docs_install_guides_installing_openvino_linux.html#install-external-dependencies">Install External Software Dependencies</a> 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](@ref openvino_docs_install_guides_configurations_for_intel_gpu).
### Step 5: Build Samples
To build the C++ or C sample applications for Linux, run the `build_samples.sh` script:
@sphinxdirective
.. tab:: C++
.. code-block:: sh
/usr/share/openvino/samples/cpp/build_samples.sh
.. tab:: C
.. code-block:: sh
/usr/share/openvino/samples/c/build_samples.sh
@endsphinxdirective
For more information, refer to <a href="openvino_docs_OV_UG_Samples_Overview.html#build-samples-linux">Build the Sample Applications on Linux</a>.
## What's Next?
Now you may continue with the following tasks:
* To convert models for use with OpenVINO, see [Model Optimizer Developer Guide](../MO_DG/Deep_Learning_Model_Optimizer_DevGuide.md).
* See pre-trained deep learning models in our [Open Model Zoo](../model_zoo.md).
* Try out OpenVINO via [OpenVINO Notebooks](https://docs.openvino.ai/nightly/notebooks/notebooks.html).
* To write your own OpenVINO™ applications, see [OpenVINO Runtime User Guide](../OV_Runtime_UG/openvino_intro.md).
* See sample applications in [OpenVINO™ Samples Overview](../OV_Runtime_UG/Samples_Overview.md).
## Additional Resources
- OpenVINO™ home page: <https://software.intel.com/en-us/openvino-toolkit>
- For IoT Libraries & Code Samples, see [Intel® IoT Developer Kit](https://github.com/intel-iot-devkit).