Files
openvino/docs/install_guides/installing-openvino-yum.md
Andrey Zaytsev 7535f80bd3 Feature/azaytsev/cherry pick pr2448 2469 2457 to master (#2515)
* Feature/azaytsev/cvs-38240 (#2469)

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

* Updated the release package numbers

* Updated according to the comments in the ticket CVS-37827 (#2448)

* Update build-instruction.md for MacOsX (#2457)

* Update build-instruction.md for MacOsX

* Removed call of install_dependencies.sh from the steps
2020-10-03 14:00:24 +03:00

4.3 KiB
Raw Blame History

Install Intel® Distribution of OpenVINO™ toolkit for Linux* Using YUM Repository

This guide provides installation steps for the Intel® Distribution of OpenVINO™ toolkit for Linux* distributed through the YUM repository.

Important

: By downloading and using this container and the included software, you agree to the terms and conditions of the software license agreements. Please, review the content inside the <openvino_install_root>/licensing folder for more details.

Note

: Intel® Graphics Compute Runtime for OpenCL™ is not a part of OpenVINO™ YUM distribution. You can install it from the Intel® Graphics Compute Runtime for OpenCL™ GitHub repo.

Set up the Repository

NOTE: You must be logged in as root to set up and install the repository.
Configure YUM with the OpenVINO repository to install OpenVINO. You have two options for this, using the yum-config-manager or manually by creating a text file and pointing YUM to the file.

  • OPTION 1: Import the .repo file using the yum-config-manager:

    1. yum-utils must be installed on your system. If its not currently installed, run the command:
    sudo yum install yum-utils
    
    1. Add repository using the yum-config-manager:
    sudo yum-config-manager --add-repo https://yum.repos.intel.com/openvino/2021/setup/intel-openvino-2021.repo
    
    1. Import the gpg public key for the repository:
    sudo rpm --import https://yum.repos.intel.com/openvino/2021/setup/RPM-GPG-KEY-INTEL-OPENVINO-2021
    
  • OPTION 2: Create the repository file manually:

    1. Navigate to the repository directory:
    cd /etc/yum.repos.d
    
    1. Edit the repo file:
    vi intel-openvino-2021.repo
    
    1. Append the following code:
    [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-2021
    
    1. Save and close the intel-openvino-2021.repo file.
    2. Import the gpg public key for the repository:
    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

Run the following command:

yum repolist | grep -i openvino

Results:

intel-openvino-2021 Intel(R) Distribution of OpenVINO 2021

To list the available OpenVINO packages

Use the following command:

yum list intel-openvino*

Install the runtime packages Using the YUM Package Manager

Intel® OpenVINO will be installed in: /opt/intel/openvino_<VERSION>.<UPDATE>.<BUILD_NUM>
A symlink will be created: /opt/intel/openvino


To install the latest version

To install the full runtime version of the OpenVINO package:

sudo yum install intel-openvino-runtime-centos7

To install a specific version

To install the full runtime version of the OpenVINO package:

sudo yum install intel-openvino-runtime-centos7-<VERSION>.<UPDATE>.<BUILD_NUM>

To Uninstall a specific version

To uninstall a specific full runtime package:

sudo yum autoremove intel-openvino-runtime-centos<OS_VERSION>-<VERSION>.<UPDATE>.<BUILD_NUM>

Additional Resources