From a75dc09204333c547349557cd7603e1727418b85 Mon Sep 17 00:00:00 2001 From: Yuan Xu Date: Thu, 27 Oct 2022 21:41:55 +0800 Subject: [PATCH] fix build number in apt installation (#13257) * fix issue CVS-81262 * update * update a to the * update comment --- .../install_guides/installing-openvino-apt.md | 53 ++++++++++++------- 1 file changed, 35 insertions(+), 18 deletions(-) diff --git a/docs/install_guides/installing-openvino-apt.md b/docs/install_guides/installing-openvino-apt.md index 77181b35b30..cd8480cd641 100644 --- a/docs/install_guides/installing-openvino-apt.md +++ b/docs/install_guides/installing-openvino-apt.md @@ -53,17 +53,20 @@ The following components are installed with the OpenVINO developer package: #### Install the GPG key for the Repository -1. Download the public key from [https://apt.repos.intel.com/openvino/2021/GPG-PUB-KEY-INTEL-OPENVINO-2021](https://apt.repos.intel.com/openvino/2021/GPG-PUB-KEY-INTEL-OPENVINO-2021) and save it to a file. +1. 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 + ``` 2. Add this key to the system keyring: -```sh -sudo apt-key add -``` + ```sh + sudo apt-key add + ``` > **NOTE**: You might need to install GnuPG: `sudo apt-get install gnupg` 3. Check the list of APT keys running the following command: -```sh -sudo apt-key list -``` + ```sh + sudo apt-key list + ``` #### Add the Repository @@ -113,34 +116,31 @@ Intel® OpenVINO™ Toolkit will be installed in: `/opt/intel/openvino_ A symlink will be created: `/opt/intel/openvino_` -#### To Install a Specific Version +#### To Install the Default Build -1. Get a list of OpenVINO packages available for installation: +You can install the default build of OpenVINO 2021.4 by using the following command: ```sh -sudo apt-cache search intel-openvino-runtime-ubuntu18 -``` -2. Install a specific version of an OpenVINO package: -```sh -sudo apt install intel-openvino--ubuntu-.. +sudo apt install intel-openvino--ubuntu-. ``` + See the example commands below: * **Runtime Package**
On Ubuntu 18.04: ```sh - sudo apt install intel-openvino-runtime-ubuntu18-2021.1.105 + sudo apt install intel-openvino-runtime-ubuntu18-2021.4 ``` On Ubuntu 20.04: ```sh - sudo apt install intel-openvino-runtime-ubuntu20-2021.1.105 + sudo apt install intel-openvino-runtime-ubuntu20-2021.4 ``` * **Developer Package**
On Ubuntu 18.04: ```sh - sudo apt install intel-openvino-dev-ubuntu18-2021.1.105 + sudo apt install intel-openvino-dev-ubuntu18-2021.4 ``` On Ubuntu 20.04: ```sh - sudo apt install intel-openvino-dev-ubuntu20-2021.1.105 + sudo apt install intel-openvino-dev-ubuntu20-2021.4 ``` #### To check for Installed Packages and Versions @@ -158,6 +158,23 @@ To uninstall a specific package: sudo apt autoremove intel-openvino--ubuntu-.. ``` +#### Advanced Option + +If you need to install a specific build other than the default one, you can use the following steps: + +1. Get a list of OpenVINO packages available for installation (taking Ubuntu 18 for example): + ```sh + sudo apt-cache search intel-openvino-runtime-ubuntu18 + ``` +2. Install a specific version of an OpenVINO package: + ```sh + sudo apt install intel-openvino--ubuntu-.. + ``` + For example: + ```sh + sudo apt install intel-openvino-runtime-ubuntu18-2021.4.752 + ``` + **Additional Resources**