apt brew yum (#15297)

This commit is contained in:
Sebastian Golebiewski 2023-01-25 11:40:33 +01:00 committed by GitHub
parent 994b227b86
commit a1fb7fe5bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 231 additions and 92 deletions

View File

@ -2,14 +2,19 @@
@sphinxdirective
This guide provides detailed steps for installing OpenVINO™ Runtime through the APT repository and guidelines for installing OpenVINO Development Tools.
With the OpenVINO™ 2022.3 release, you can install OpenVINO Runtime on Linux using the APT repository. OpenVINO™ Development Tools can be installed via PyPI only. See :ref:`Installing Additional Components <intall additional components apt>` for more information.
.. note:: From the 2022.1 release, OpenVINO™ Development Tools can be installed via PyPI only. See :ref:`Install OpenVINO Development Tools <installing-openvino-development-tools>` for more information.
See the `Release Notes <https://www.intel.com/content/www/us/en/developer/articles/release-notes/openvino-2022-3-lts-relnotes.html>`_ for more information on updates in the latest release.
.. warning:: 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>`_.
Installing OpenVINO Runtime from APT is recommended for C++ developers. If you are working with Python, the PyPI package has everything needed for Python development and deployment on CPU and GPUs. Visit the :doc:`Install OpenVINO from PyPI <openvino_docs_install_guides_installing_openvino_pip>` page for instructions on how to install OpenVINO Runtime for Python using PyPI.
.. warning::
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>`_.
@endsphinxdirective
## Prerequisites
@sphinxdirective
@ -33,10 +38,11 @@ This guide provides detailed steps for installing OpenVINO™ Runtime through th
* `Python 3.7 - 3.10, 64-bit <https://www.python.org/downloads/>`_
.. _installing-openvino-runtime:
.. _install runtime apt:
@endsphinxdirective
## Installing OpenVINO Runtime
### Step 1: Set Up the OpenVINO Toolkit APT Repository
@ -149,43 +155,16 @@ Run the following command:
apt list --installed | grep openvino
.. _intall additional components apt:
@endsphinxdirective
#### Uninstalling 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 Additional Components
@sphinxdirective
OpenVINO Development Tools is a set of utilities for working with OpenVINO and OpenVINO models. It provides tools like Model Optimizer, Benchmark Tool, Post-Training Optimization Tool, and Open Model Zoo Downloader. If you install OpenVINO Runtime using APT, OpenVINO Development Tools must be installed separately.
OpenVINO Development Tools is a set of utilities for working with OpenVINO and OpenVINO models. It provides tools like Model Optimizer, Benchmark Tool, Post-Training Optimization Tool, and Open Model Zoo Downloader. If you installed OpenVINO Runtime using APT, OpenVINO Development Tools must be installed separately.
See the **For C++ Developers** section on the :doc:`Install OpenVINO Development Tools <openvino_docs_install_guides_install_dev_tools>` page for instructions.
@ -217,30 +196,60 @@ To build the C++ or C sample applications for Linux, run the ``build_samples.sh`
/usr/share/openvino/samples/c/build_samples.sh
For more information, refer to :ref:`Build the Sample Applications on Linux <build-samples-linux>`.
@endsphinxdirective
### Uninstalling OpenVINO Runtime
@sphinxdirective
To uninstall OpenVINO Runtime via APT, run the following command based on your needs:
.. tab:: The Latest Version
.. code-block:: sh
sudo apt autoremove openvino
.. tab:: A Specific Version
.. code-block:: sh
sudo apt autoremove openvino-<VERSION>.<UPDATE>.<PATCH>
For example:
.. code-block:: sh
sudo apt autoremove openvino-2022.3.0
@endsphinxdirective
## What's Next?
@sphinxdirective
Now you may continue with the following tasks:
Now that you've installed OpenVINO Runtime, you're ready to run your own machine learning applications! Learn more about how to integrate a model in OpenVINO applications by trying out the following tutorials:
* To convert models for use with OpenVINO, see :doc:`Model Optimizer Developer Guide <openvino_docs_MO_DG_Deep_Learning_Model_Optimizer_DevGuide>`.
* Try the `C++ Quick Start Example <openvino_docs_get_started_get_started_demos.html>`_ for step-by-step instructions on building and running a basic image classification C++ application.
.. image:: https://user-images.githubusercontent.com/36741649/127170593-86976dc3-e5e4-40be-b0a6-206379cd7df5.jpg
:width: 400
* Visit the :ref:`Samples <code samples>` page for other C++ example applications to get you started with OpenVINO, such as:
* `Basic object detection with the Hello Reshape SSD C++ sample <openvino_inference_engine_samples_hello_reshape_ssd_README.html>`_
* `Automatic speech recognition C++ sample <openvino_inference_engine_samples_speech_sample_README.html>`_
You can also try the following things:
* Learn more about :doc:`OpenVINO Workflow <openvino_workflow>`.
* To prepare your models for working with OpenVINO, see :doc:`Model Preparation <openvino_docs_model_processing_introduction>`.
* See pre-trained deep learning models in our :doc:`Open Model Zoo <model_zoo>`.
* Try out OpenVINO via `OpenVINO Notebooks <https://docs.openvino.ai/nightly/notebooks/notebooks.html>`_.
* To write your own OpenVINO™ applications, see :doc:`OpenVINO Runtime User Guide <openvino_docs_OV_UG_OV_Runtime_User_Guide>`.
* See sample applications in :doc:`OpenVINO™ Toolkit Samples Overview <openvino_docs_OV_UG_Samples_Overview>`.
@endsphinxdirective
## Additional Resources
@sphinxdirective
- 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>`_.
* Learn more about :doc:`Inference with OpenVINO Runtime <openvino_docs_OV_UG_OV_Runtime_User_Guide>`.
* See sample applications in :doc:`OpenVINO toolkit Samples Overview <openvino_docs_OV_UG_Samples_Overview>`.
* Take a glance at the OpenVINO product home page: https://software.intel.com/en-us/openvino-toolkit.
@endsphinxdirective

View File

@ -0,0 +1,102 @@
# Install OpenVINO™ Runtime via Homebrew {#openvino_docs_install_guides_installing_openvino_brew}
@sphinxdirective
With the OpenVINO™ 2022.3 release, you can install OpenVINO Runtime on macOS and Linux via `Homebrew <https://brew.sh/>`_. OpenVINO™ Development Tools can be installed via PyPI only. See :ref:`Installing Additional Components <intall additional components brew>` for more information.
See the `Release Notes <https://www.intel.com/content/www/us/en/developer/articles/release-notes/openvino-2022-3-lts-relnotes.html>`_ for more information on updates in the latest release.
Installing OpenVINO Runtime from Homebrew is recommended for C++ developers. If you are working with Python, the PyPI package has everything needed for Python development and deployment on CPU and GPUs. Visit the :doc:`Install OpenVINO from PyPI <openvino_docs_install_guides_installing_openvino_pip>` page for instructions on how to install OpenVINO Runtime for Python using PyPI.
.. note::
Only CPU is supported for inference if you install OpenVINO via HomeBrew.
.. warning::
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>`_.
@endsphinxdirective
## Prerequisites
### System Requirements
@sphinxdirective
Full requirement listing is available on the `System Requirements Page <https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/system-requirements.html>`_
@endsphinxdirective
### Software Requirements
@sphinxdirective
.. tab:: macOS
* `Homebrew <https://brew.sh/>`_
* `CMake 3.13 or higher <https://cmake.org/download/>`_ (choose "macOS 10.13 or later"). Add `/Applications/CMake.app/Contents/bin` to path (for default installation).
* `Python 3.7 - 3.10 <https://www.python.org/downloads/mac-osx/>`_ (choose 3.7 - 3.10). Install and add it to path.
* Apple Xcode Command Line Tools. In the terminal, run `xcode-select --install` from any directory to install it.
* (Optional) Apple Xcode IDE (not required for OpenVINO™, but useful for development)
.. tab:: Linux
* `Homebrew <https://brew.sh/>`_
* `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
@sphinxdirective
1. Make sure that you have installed HomeBrew on your system. If not, follow the instructions on `the Homebrew website <https://brew.sh/>`_ to install and configure it.
2. Open a command prompt terminal window, and run the following command to install OpenVINO Runtime:
.. code-block:: sh
brew install openvino
Congratulations, you've finished the installation!
.. _intall additional components brew:
@endsphinxdirective
## (Optional) Installing Additional Components
@sphinxdirective
OpenVINO Development Tools is a set of utilities for working with OpenVINO and OpenVINO models. It provides tools like Model Optimizer, Benchmark Tool, Post-Training Optimization Tool, and Open Model Zoo Downloader. If you installed OpenVINO Runtime using Homebrew, OpenVINO Development Tools must be installed separately.
See **For C++ Developers** section on the :doc:`Install OpenVINO Development Tools <openvino_docs_install_guides_install_dev_tools>` page for instructions.
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. To install OpenCV for OpenVINO, see the `instructions on GitHub <https://github.com/opencv/opencv/wiki/BuildOpenCV4OpenVINO>`_.
@endsphinxdirective
## Uninstalling OpenVINO
To uninstall OpenVINO via HomeBrew, use the following command:
```sh
brew uninstall openvino
```
## What's Next?
@sphinxdirective
Now that you've installed OpenVINO Runtime, you can try the following things:
* Learn more about :doc:`OpenVINO Workflow <openvino_workflow>`.
* To prepare your models for working with OpenVINO, see :doc:`Model Preparation <openvino_docs_model_processing_introduction>`.
* See pre-trained deep learning models in our :doc:`Open Model Zoo <model_zoo>`.
* Learn more about :doc:`Inference with OpenVINO Runtime <openvino_docs_OV_UG_OV_Runtime_User_Guide>`.
* See sample applications in :doc:`OpenVINO toolkit Samples Overview <openvino_docs_OV_UG_Samples_Overview>`.
* Take a glance at the OpenVINO product home page: https://software.intel.com/en-us/openvino-toolkit.
@endsphinxdirective

View File

@ -10,6 +10,7 @@
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 HomeBrew <openvino_docs_install_guides_installing_openvino_brew>
Using Docker <openvino_docs_install_guides_installing_openvino_docker_linux>
@endsphinxdirective

View File

@ -6,6 +6,7 @@ Currently the following ways are provided to install OpenVINO™:
* [Install OpenVINO Runtime from APT](@ref openvino_docs_install_guides_installing_openvino_apt)
* [Install OpenVINO Runtime from YUM](@ref openvino_docs_install_guides_installing_openvino_yum)
* [Install OpenVINO from PyPI](installing-openvino-pip.md)
* [Install OpenVINO Runtime via HomeBrew](installing-openvino-brew.md)
* [Install OpenVINO with Docker](installing-openvino-docker-linux.md)
* [Build From Source](https://github.com/openvinotoolkit/openvino/wiki/BuildingCode)

View File

@ -8,10 +8,12 @@
From Archive <openvino_docs_install_guides_installing_openvino_from_archive_macos>
From PyPI <openvino_docs_install_guides_installing_openvino_pip>
Using HomeBrew <openvino_docs_install_guides_installing_openvino_brew>
@endsphinxdirective
If you want to install OpenVINO™ Runtime on macOS, there are a few ways to accomplish this. We prepared following options for you:
* [Install OpenVINO Runtime from an Archive File](installing-openvino-from-archive-macos.md)
* [Install OpenVINO Runtime via HomeBrew](installing-openvino-brew.md)
* [Install OpenVINO from PyPI](installing-openvino-pip.md)

View File

@ -3,6 +3,7 @@
Currently only the following ways are provided to install OpenVINO™:
* [Install OpenVINO Runtime from an Archive File](installing-openvino-from-archive-macos.md)
* [Install OpenVINO Runtime via HomeBrew](installing-openvino-brew.md)
* [Install OpenVINO from PyPI](installing-openvino-pip.md)
* [Build From Source](https://github.com/openvinotoolkit/openvino/wiki/BuildingCode)

View File

@ -1,10 +1,18 @@
# Install OpenVINO™ Runtime on Linux Using YUM Repository {#openvino_docs_install_guides_installing_openvino_yum}
This guide provides installation steps for OpenVINO™ Runtime for Linux distributed through the YUM repository.
@sphinxdirective
> **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.
With the OpenVINO™ 2022.3 release, you can install OpenVINO Runtime on Linux using the YUM repository. OpenVINO™ Development Tools can be installed via PyPI only. See :ref:`Installing Additional Components <intall additional components yum>` for more information.
> **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).
See the `Release Notes <https://www.intel.com/content/www/us/en/developer/articles/release-notes/openvino-2022-3-lts-relnotes.html>`_ for more information on updates in the latest release.
Installing OpenVINO Runtime from YUM is recommended for C++ developers. If you are working with Python, the PyPI package has everything needed for Python development and deployment on CPU and GPUs. Visit the :doc:`Install OpenVINO from PyPI <openvino_docs_install_guides_installing_openvino_pip>` page for instructions on how to install OpenVINO Runtime for Python using PyPI.
.. warning::
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>`_.
@endsphinxdirective
## Prerequisites
@ -96,7 +104,6 @@ To list available OpenVINO packages, use the following command:
@endsphinxdirective
#### Check for Installed Packages and Version
Run the following command:
@ -107,43 +114,20 @@ Run the following command:
yum list installed 'openvino*'
@endsphinxdirective
#### Uninstalling 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
.. _intall additional components yum:
@endsphinxdirective
### Step 3 (Optional): Install Additional Components
OpenVINO Development Tools is a set of utilities for working with OpenVINO and OpenVINO models. It provides tools like Model Optimizer, Benchmark Tool, Post-Training Optimization Tool, and Open Model Zoo Downloader. If you install OpenVINO Runtime using YUM, OpenVINO Development Tools must be installed separately.
See the **For C++ Developers** section on the [Install OpenVINO Development Tools](installing-model-dev-tools.md) page for instructions.
@sphinxdirective
OpenVINO Development Tools is a set of utilities for working with OpenVINO and OpenVINO models. It provides tools like Model Optimizer, Benchmark Tool, Post-Training Optimization Tool, and Open Model Zoo Downloader. If you installed OpenVINO Runtime using YUM, OpenVINO Development Tools must be installed separately.
See **For C++ Developers** section on the :doc:`Install OpenVINO Development Tools <openvino_docs_install_guides_install_dev_tools>` page for instructions.
@endsphinxdirective
### Step 4 (Optional): Configure Inference on Non-CPU Devices
@ -171,17 +155,56 @@ To build the C++ or C sample applications for Linux, run the `build_samples.sh`
For more information, refer to <a href="openvino_docs_OV_UG_Samples_Overview.html#build-samples-linux">Build the Sample Applications on Linux</a>.
### Uninstalling OpenVINO Runtime
@sphinxdirective
To uninstall OpenVINO Runtime via YUM, run the following command based on your needs:
.. tab:: The Latest Version
.. code-block:: sh
sudo yum autoremove openvino
.. tab:: A Specific Version
.. code-block:: sh
sudo yum autoremove openvino-<VERSION>.<UPDATE>.<PATCH>
For example:
.. code-block:: sh
sudo yum autoremove openvino-2022.3.0
@endsphinxdirective
## What's Next?
Now you may continue with the following tasks:
@sphinxdirective
* 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).
Now that you've installed OpenVINO Runtime, you're ready to run your own machine learning applications! Learn more about how to integrate a model in OpenVINO applications by trying out the following tutorials:
## Additional Resources
* Try the `C++ Quick Start Example <openvino_docs_get_started_get_started_demos.html>`_ for step-by-step instructions on building and running a basic image classification C++ application.
- 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).
.. image:: https://user-images.githubusercontent.com/36741649/127170593-86976dc3-e5e4-40be-b0a6-206379cd7df5.jpg
:width: 400
* Visit the :ref:`Samples <code samples>` page for other C++ example applications to get you started with OpenVINO, such as:
* `Basic object detection with the Hello Reshape SSD C++ sample <openvino_inference_engine_samples_hello_reshape_ssd_README.html>`_
* `Automatic speech recognition C++ sample <openvino_inference_engine_samples_speech_sample_README.html>`_
You can also try the following things:
* Learn more about :doc:`OpenVINO Workflow <openvino_workflow>`.
* To prepare your models for working with OpenVINO, see :doc:`Model Preparation <openvino_docs_model_processing_introduction>`.
* See pre-trained deep learning models in our :doc:`Open Model Zoo <model_zoo>`.
* Learn more about :doc:`Inference with OpenVINO Runtime <openvino_docs_OV_UG_OV_Runtime_User_Guide>`.
* See sample applications in :doc:`OpenVINO toolkit Samples Overview <openvino_docs_OV_UG_Samples_Overview>`.
* Take a glance at the OpenVINO product home page: https://software.intel.com/en-us/openvino-toolkit.
@endsphinxdirective