Updated APT/YUM instructions with actual version. Added instructions for Ubuntu22. Updated subfolders naming for APT. (#17562)

This commit is contained in:
Artyom Anokhov 2023-05-19 12:46:45 +02:00 committed by GitHub
parent 84db7d0ee6
commit 0b48fc7159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 12 deletions

View File

@ -82,13 +82,19 @@ Step 1: Set Up the OpenVINO Toolkit APT Repository
.. code-block:: sh .. 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 echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu18 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2023.list
.. tab:: Ubuntu 20 .. tab:: Ubuntu 20
.. code-block:: sh .. 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 echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu20 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2023.list
.. tab:: Ubuntu 22
.. code-block:: sh
echo "deb https://apt.repos.intel.com/openvino/2023 ubuntu22 main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2023.list
3. Update the list of packages via the update command: 3. Update the list of packages via the update command:
@ -139,7 +145,7 @@ Install OpenVINO Runtime
.. code-block:: sh .. code-block:: sh
sudo apt install openvino-2022.3.0 sudo apt install openvino-2023.0.0
.. note:: .. note::
@ -216,7 +222,7 @@ To uninstall OpenVINO Runtime via APT, run the following command based on your n
.. code-block:: sh .. code-block:: sh
sudo apt autoremove openvino-2022.3.0 sudo apt autoremove openvino-2023.0.0
What's Next? What's Next?

View File

@ -54,25 +54,25 @@ Step 1: Set Up the Repository
+++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++
1. Create a YUM repository file (``openvino-2022.repo``) in the ``/tmp`` directory as a normal user: 1. Create a YUM repository file (``openvino-2023.repo``) in the ``/tmp`` directory as a normal user:
.. code-block:: sh .. code-block:: sh
tee > /tmp/openvino-2022.repo << EOF tee > /tmp/openvino-2023.repo << EOF
[OpenVINO] [OpenVINO]
name=Intel(R) Distribution of OpenVINO 2022 name=Intel(R) Distribution of OpenVINO 2023
baseurl=https://yum.repos.intel.com/openvino/2022 baseurl=https://yum.repos.intel.com/openvino/2023
enabled=1 enabled=1
gpgcheck=1 gpgcheck=1
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, i.e. ``/etc/yum.repos.d``: 2. Move the new ``openvino-2023.repo`` file to the YUM configuration directory, i.e. ``/etc/yum.repos.d``:
.. code-block:: sh .. code-block:: sh
sudo mv /tmp/openvino-2022.repo /etc/yum.repos.d sudo mv /tmp/openvino-2023.repo /etc/yum.repos.d
3. Verify that the new repository is set up properly. 3. Verify that the new repository is set up properly.
@ -118,7 +118,7 @@ Install OpenVINO Runtime
.. code-block:: sh .. code-block:: sh
sudo yum install openvino-2022.3.0 sudo yum install openvino-2023.0.0
@ -193,7 +193,7 @@ To uninstall OpenVINO Runtime via YUM, run the following command based on your n
.. code-block:: sh .. code-block:: sh
sudo yum autoremove openvino-2022.3.0 sudo yum autoremove openvino-2023.0.0