Install OpenVINO™ Runtime via Homebrew¶
Note
Installing OpenVINO Runtime from Homebrew is recommended for C++ developers. If you work with Python, consider installing OpenVINO from PyPI
Importantly, Homebrew always distributes the most recent package. You cannot use it to install previous versions of OpenVINO.
The current Homebrew package provides inference support for CPU (under macOS x86_64, macOS arm64, Linux x86_64), as well as GPU (under Linux x86_64 only).
You can use Homebrew to install OpenVINO Runtime on macOS and Linux. OpenVINO™ Development Tools can be installed via PyPI only. See Installing Additional Components for more information.
Warning
By downloading and using this container and the included software, you agree to the terms and conditions of the software license agreements.
CMake 3.13 or higher (choose “macOS 10.13 or later”). Add /Applications/CMake.app/Contents/bin to path (for default installation).
Python 3.7 - 3.10 (choose 3.7 - 3.10). Install and add it to path.
Apple Xcode Command Line Tools. In the terminal, run xcode-select –install from any directory to install it.
(Optional) Apple Xcode IDE (not required for OpenVINO™, but useful for development)
GCC 7.5.0 (for Ubuntu 18.04) or GCC 9.3.0 (for Ubuntu 20.04)
Installing OpenVINO Runtime¶
Make sure that you have installed Homebrew on your system. If not, follow the instructions on the Homebrew website to install and configure it.
Open a command prompt terminal window, and run the following command to install OpenVINO Runtime:
brew install openvino
Check if the installation was successful by listing all Homebrew packages:
brew list
Congratulations, you’ve finished the installation!
(Optional) Installing Additional Components¶
OpenVINO Development Tools is a set of utilities for working with OpenVINO and OpenVINO models. It provides tools like Model Optimizer, Benchmark Tool, Post-Training Optimization Tool, and Open Model Zoo Downloader. If you installed OpenVINO Runtime using Homebrew, OpenVINO Development Tools must be installed separately.
See the For C++ Developers section on the Install OpenVINO Development Tools page for instructions.
OpenCV is necessary to run demos from Open Model Zoo (OMZ). Some OpenVINO samples can also extend their capabilities when compiled with OpenCV as a dependency. To install OpenCV for OpenVINO, see the instructions on GitHub.
Uninstalling OpenVINO¶
To uninstall OpenVINO via Homebrew, use the following command:
brew uninstall openvino
What’s Next?¶
Now that you’ve installed OpenVINO Runtime, you can try the following things:
Learn more about OpenVINO Workflow.
To prepare your models for working with OpenVINO, see Model Preparation.
See pre-trained deep learning models in our Open Model Zoo.
Learn more about Inference with OpenVINO Runtime.
See sample applications in OpenVINO toolkit Samples Overview.
Check out the OpenVINO product home page: https://software.intel.com/en-us/openvino-toolkit.