Feature/azaytsev/cvs-38240 (#2469)

* Updated for 2020 version, replaced Ubuntu 16.04 with Ubuntu 20.04

* Updated the release package numbers
This commit is contained in:
Andrey Zaytsev 2020-10-02 12:21:48 +03:00 committed by GitHub
parent f9c692b885
commit 9c297a3174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 24 deletions

View File

@ -9,7 +9,7 @@ This guide provides installation steps for Intel® Distribution of OpenVINO™ t
## Set up the Repository
### Install the GPG key for the repository
1. Download the public key from [https://apt.repos.intel.com/openvino/2020/GPG-PUB-KEY-INTEL-OPENVINO-2020](https://apt.repos.intel.com/openvino/2020/GPG-PUB-KEY-INTEL-OPENVINO-2020) and save it to a file.
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.
2. Add this key to the system keyring:
```sh
sudo apt-key add <PATH_TO_DOWNLOADED_GPG_KEY>
@ -23,7 +23,7 @@ sudo apt-key list
Run the following command:
```sh
echo "deb https://apt.repos.intel.com/openvino/2020 all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2020.list
echo "deb https://apt.repos.intel.com/openvino/2021 all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2021.list
```
### Update the list of packages
@ -36,11 +36,11 @@ There are full release Runtime and Developer packages, and also some available c
**Runtime Packages**
- Ubuntu 18.04: `intel-openvino-runtime-ubuntu18`
- Ubuntu 16.04: `intel-openvino-runtime-ubuntu16`
- Ubuntu 20.04: `intel-openvino-runtime-ubuntu20`
**Developer Packages**
- Ubuntu 18.04: `intel-openvino-dev-ubuntu18`
- Ubuntu 16.04: `intel-openvino-dev-ubuntu16`
- Ubuntu 20.04: `intel-openvino-dev-ubuntu20`
### Get the list of available packages
@ -57,9 +57,9 @@ apt-cache search openvino
```sh
sudo apt-cache search intel-openvino-runtime-ubuntu18
```
On Ubuntu 16.04:
On Ubuntu 20.04:
```sh
sudo apt-cache search intel-openvino-runtime-ubuntu16
sudo apt-cache search intel-openvino-runtime-ubuntu20
```
* **Developer Packages**
@ -67,9 +67,9 @@ apt-cache search openvino
```sh
sudo apt-cache search intel-openvino-dev-ubuntu18
```
On Ubuntu 16.04:
On Ubuntu 20.04:
```sh
sudo apt-cache search intel-openvino-dev-ubuntu16
sudo apt-cache search intel-openvino-dev-ubuntu20
```
@ -97,20 +97,20 @@ sudo apt install intel-openvino-<PACKAGE_TYPE>-ubuntu<OS_VERSION>-<VERSION>.<UPD
On Ubuntu 18.04:
```sh
sudo apt install intel-openvino-runtime-ubuntu18-2020.1.023
sudo apt install intel-openvino-runtime-ubuntu18-2021.1.105
```
On Ubuntu 16.04:
On Ubuntu 20.04:
```sh
sudo apt install intel-openvino-runtime-ubuntu16-2020.1.023
sudo apt install intel-openvino-runtime-ubuntu20-2021.1.105
```
* **Developer Package**<br>
On Ubuntu 18.04:
```sh
sudo apt install intel-openvino-dev-ubuntu18-2020.1.023
sudo apt install intel-openvino-dev-ubuntu18-2021.1.105
```
On Ubuntu 16.04:
On Ubuntu 20.04:
```sh
sudo apt install intel-openvino-dev-ubuntu16-2020.1.023
sudo apt install intel-openvino-dev-ubuntu20-2021.1.105
```
---

View File

@ -19,11 +19,11 @@ Configure YUM with the OpenVINO repository to install OpenVINO. You have two opt
```
2. Add repository using the `yum-config-manager`:
```sh
sudo yum-config-manager --add-repo https://yum.repos.intel.com/openvino/2020/setup/intel-openvino-2020.repo
sudo yum-config-manager --add-repo https://yum.repos.intel.com/openvino/2021/setup/intel-openvino-2021.repo
```
3. Import the gpg public key for the repository:
```sh
sudo rpm --import https://yum.repos.intel.com/openvino/2020/setup/RPM-GPG-KEY-INTEL-OPENVINO-2020
sudo rpm --import https://yum.repos.intel.com/openvino/2021/setup/RPM-GPG-KEY-INTEL-OPENVINO-2021
```
* **OPTION 2:** Create the repository file manually:
@ -33,21 +33,21 @@ Configure YUM with the OpenVINO repository to install OpenVINO. You have two opt
```
2. Edit the repo file:
```sh
vi intel-openvino-2020.repo
vi intel-openvino-2021.repo
```
3. Append the following code:
```sh
[intel-openvino-2020]
name=Intel(R) Distribution of OpenVINO 2020
baseurl=https://yum.repos.intel.com/openvino/2020
[intel-openvino-2021]
name=Intel(R) Distribution of OpenVINO 2021
baseurl=https://yum.repos.intel.com/openvino/2021
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-INTEL-OPENVINO-2020
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-INTEL-OPENVINO-2021
```
4. Save and close the `intel-openvino-2020.repo` file.
4. Save and close the `intel-openvino-2021.repo` file.
5. Import the gpg public key for the repository:
```sh
sudo rpm --import https://yum.repos.intel.com/openvino/2020/setup/RPM-GPG-KEY-INTEL-OPENVINO-2020
sudo rpm --import https://yum.repos.intel.com/openvino/2021/setup/RPM-GPG-KEY-INTEL-OPENVINO-2021
```
### Verify that the new repo is properly setup
@ -58,7 +58,7 @@ yum repolist | grep -i openvino
Results:
```sh
intel-openvino-2020 Intel(R) Distribution of OpenVINO 2020
intel-openvino-2021 Intel(R) Distribution of OpenVINO 2021
```
### To list the available OpenVINO packages