2020年2月27日 星期四

[Openvino] Install Intel® Distribution of OpenVINO™ toolkit for Linux* Using APT Repository

http://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_apt.html

By downloading Intel® OpenVINO you agree to the terms and conditions stated in the Intel Simplified Software License.

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

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 and save it to a file.
  2. Add this key to the system keyring:
    sudo apt-key add <PATH_TO_DOWNLOADED_GPG_KEY>
  3. Check the list of APT keys running the following command:
    sudo apt-key list

Add the APT Repository

  1. Navigate to the repositories directory:
    cd /etc/apt/sources.list.d
  2. Create a new source list file:
    sudo vi intel-openvino-2020.list
  3. Add the following code:
    deb https://apt.repos.intel.com/openvino/2020 all main
  4. Save and close the file intel-openvino-2020.list.

Update the list of packages

Run the update command:
sudo apt update
There are full release Runtime and Developer packages, and also some available components.
Runtime Packages
  • Ubuntu 18.04: intel-openvino-runtime-ubuntu18
  • Ubuntu 16.04: intel-openvino-runtime-ubuntu16
Developer Packages
  • Ubuntu 18.04: intel-openvino-dev-ubuntu18
  • Ubuntu 16.04: intel-openvino-dev-ubuntu16

Get the list of available packages

Run the apt-cache command to see a list of all available OpenVINO packages and components:
apt-cache search openvino

Examples

  • Runtime Packages
    On Ubuntu 18.04:
    sudo apt-cache search intel-openvino-runtime-ubuntu18
    On Ubuntu 16.04:
    sudo apt-cache search intel-openvino-runtime-ubuntu16
  • Developer Packages
    On Ubuntu 18.04:
    sudo apt-cache search intel-openvino-dev-ubuntu18
    On Ubuntu 16.04:
    sudo apt-cache search intel-openvino-dev-ubuntu16

Install the runtime or developer packages using the APT 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 a specific version

To get a list of OpenVINO packages available for installation:
sudo apt-get search intel-openvino-runtime-ubuntu18
To install a specific version of an OpenVINO package:
sudo apt install intel-openvino-<PACKAGE_TYPE>-ubuntu<OS_VERSION>-<VERSION>.<UPDATE>.<BUILD_NUM>

Examples

  • Runtime Package
    On Ubuntu 18.04:
    sudo apt install intel-openvino-runtime-ubuntu18-2020.1.023
    On Ubuntu 16.04:
    sudo apt install intel-openvino-runtime-ubuntu16-2020.1.023
  • Developer Package
    On Ubuntu 18.04:
    sudo apt install intel-openvino-dev-ubuntu16-2020.1.023
    On Ubuntu 16.04:
    sudo apt install intel-openvino-dev-ubuntu18-2020.1.023

    To Uninstall a specific version

To uninstall a specific full runtime package:
sudo apt autoremove intel-openvino-<PACKAGE_TYPE>-ubuntu<OS_VERSION>-<VERSION>.<UPDATE>.<BUILD_NUM>
Additional Resources

沒有留言:

張貼留言