Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.6 KB

linux-setup.md

File metadata and controls

45 lines (34 loc) · 1.6 KB

Linux - Initial Setup

Install Intel® Distribution of OpenVINO™ Toolkit

Refer to this page for more information about how to install and setup the Intel® Distribution of OpenVINO™ Toolkit.

You will need the OpenCL™ Runtime Package if you plan to run inference on the GPU. It is not mandatory for CPU inference.

Install Nodejs and its dependencies

  • This step is only required if the user previously used Chris Lea's Node.js PPA.
sudo add-apt-repository -y -r ppa:chris-lea/node.js
sudo rm -f /etc/apt/sources.list.d/chris-lea-node_js-*.list
sudo rm -f /etc/apt/sources.list.d/chris-lea-node_js-*.list.save
  • To install Nodejs and Npm, run the below commands:
curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
VERSION=node_6.x
DISTRO="$(lsb_release -s -c)"
echo "deb https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee /etc/apt/sources.list.d/nodesource.list
echo "deb-src https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list
sudo apt-get update
sudo apt-get install nodejs

Install the following dependencies

sudo apt update
sudo apt-get install python3-pip
pip3 install numpy
pip3 install paho-mqtt
sudo apt install libzmq3-dev libkrb5-dev
sudo apt install ffmpeg
sudo apt-get install cmake

If you’re prompted to upgrade pip, do not update.

Install NPM

Follow the instructions in the main README file under “Install npm” to make sure the relevant NPM libraries are installed for the included Node servers.