Add a disclaimer about CentOS for YUM install (#15453) (#15515)

* update step 3

* fix formatting

* fix formatting

* fix formatting

* test formatting

* change code to use sphinx directives

* fix formatting

* test formatting

* test formatting

* rewording

* test formatting

* test formatting

* test formatting

* move content to troubleshooting guide

* fix formatting

* fixes

* remove troubleshooting item and add a disclaimer

* add centos 7
This commit is contained in:
Yuan Xu 2023-02-06 15:20:28 +08:00 committed by GitHub
parent 3605b7de54
commit 9875c96b66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
# Install OpenVINO™ Runtime on Linux Using YUM Repository {#openvino_docs_install_guides_installing_openvino_yum} # Install OpenVINO™ Runtime on Linux From YUM Repository {#openvino_docs_install_guides_installing_openvino_yum}
@sphinxdirective @sphinxdirective
@ -22,6 +22,10 @@ Installing OpenVINO Runtime from YUM is recommended for C++ developers. If you a
| Full requirement listing is available in: | Full requirement listing is available in:
| `System Requirements Page <https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/system-requirements.html>`_ | `System Requirements Page <https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/system-requirements.html>`_
.. note::
Installing OpenVINO from YUM is only supported on RHEL 8.2 and higher versions. CentOS 7 is not supported for this installation method.
.. tab:: Processor Notes .. tab:: Processor Notes
Processor graphics are not included in all processors. Processor graphics are not included in all processors.
@ -41,8 +45,12 @@ Installing OpenVINO Runtime from YUM is recommended for C++ developers. If you a
### Step 1: Set Up the Repository ### Step 1: Set Up the Repository
1. Create the `openvino-2022.repo` YUM repo file in the `/tmp` directory as a normal user: @sphinxdirective
```
1. Create a YUM repository file (`openvino-2022.repo`) in the `/tmp` directory as a normal user:
.. code-block:: sh
tee > /tmp/openvino-2022.repo << EOF tee > /tmp/openvino-2022.repo << EOF
[OpenVINO] [OpenVINO]
name=Intel(R) Distribution of OpenVINO 2022 name=Intel(R) Distribution of OpenVINO 2022
@ -52,23 +60,25 @@ Installing OpenVINO Runtime from YUM is recommended for C++ developers. If you a
repo_gpgcheck=1 repo_gpgcheck=1
gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
EOF EOF
```
2. Move the new `openvino-2022.repo` file to the YUM configuration directory `/etc/yum.repos.d`: 2. Move the new `openvino-2022.repo` file to the YUM configuration directory, i.e. `/etc/yum.repos.d`:
```sh
.. code-block:: sh
sudo mv /tmp/openvino-2022.repo /etc/yum.repos.d sudo mv /tmp/openvino-2022.repo /etc/yum.repos.d
```
3. Verify that the new repo is properly setup by running the following command: 3. Verify that the new repository is set up properly.
```sh
.. code-block:: sh
yum repolist | grep -i openvino yum repolist | grep -i openvino
```
You will see the available list of packages. You will see the available list of packages.
To list available OpenVINO packages, use the following command: To list available OpenVINO packages, use the following command:
@sphinxdirective .. code-block:: sh
.. code-block:: sh
yum list 'openvino*' yum list 'openvino*'
@ -106,11 +116,11 @@ To list available OpenVINO packages, use the following command:
#### Check for Installed Packages and Version #### Check for Installed Packages and Version
Run the following command:
@sphinxdirective @sphinxdirective
.. code-block:: sh Run the following command:
.. code-block:: sh
yum list installed 'openvino*' yum list installed 'openvino*'
@ -135,10 +145,10 @@ To enable the toolkit components to use processor graphics (GPU) on your system,
### Step 5: Build Samples ### Step 5: Build Samples
To build the C++ or C sample applications for Linux, run the `build_samples.sh` script:
@sphinxdirective @sphinxdirective
To build the C++ or C sample applications for Linux, run the `build_samples.sh` script:
.. tab:: C++ .. tab:: C++
.. code-block:: sh .. code-block:: sh