From 86942da034b08a86d0a12fa694bbb5e0c25ed8bb Mon Sep 17 00:00:00 2001 From: Dmitry Pigasin Date: Fri, 28 May 2021 16:59:26 +0300 Subject: [PATCH] Add sudo to install_dependencies script (#5880) --- .../install_dependencies/install_openvino_dependencies.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install_dependencies/install_openvino_dependencies.sh b/scripts/install_dependencies/install_openvino_dependencies.sh index c9aebd2de49c40..4538400868cd15 100755 --- a/scripts/install_dependencies/install_openvino_dependencies.sh +++ b/scripts/install_dependencies/install_openvino_dependencies.sh @@ -100,7 +100,7 @@ if [ "$os" == "ubuntu18.04" ] ; then pkgs_opencv_req=(libgtk-3-0 libgl1) pkgs_python=(python3 python3-dev python3-venv python3-setuptools python3-pip) - pkgs_dev=(cmake g++ gcc libc6-dev make curl) + pkgs_dev=(cmake g++ gcc libc6-dev make curl sudo) pkgs_myriad=(libusb-1.0-0) pkgs_installer=(cpio) pkgs_pot=() @@ -143,7 +143,7 @@ elif [ "$os" == "ubuntu20.04" ] ; then pkgs_opencv_req=(libgtk-3-0 libgl1) pkgs_python=(python3 python3-dev python3-venv python3-setuptools python3-pip) - pkgs_dev=(cmake g++ gcc libc6-dev make curl) + pkgs_dev=(cmake g++ gcc libc6-dev make curl sudo) pkgs_myriad=(libusb-1.0-0) pkgs_installer=(cpio) pkgs_pot=(libblas-dev liblapack-dev gfortran) @@ -193,7 +193,7 @@ elif [ "$os" == "rhel8" ] ; then pkgs_opencv_req=(gtk3) pkgs_python=(python3 python3-devel python3-setuptools python3-pip) - pkgs_dev=(gcc gcc-c++ make glibc libstdc++ libgcc cmake curl) + pkgs_dev=(gcc gcc-c++ make glibc libstdc++ libgcc cmake curl sudo) pkgs_myriad=() pkgs_installer=() pkgs_pot=() @@ -212,7 +212,7 @@ elif [ "$os" == "centos7" ] ; then pkgs_opencv_req=(gtk2) pkgs_python=(python3 python3-devel python3-setuptools python3-pip) - pkgs_dev=(gcc gcc-c++ make glibc libstdc++ libgcc cmake curl) + pkgs_dev=(gcc gcc-c++ make glibc libstdc++ libgcc cmake curl sudo) pkgs_myriad=(libusbx) pkgs_installer=() pkgs_pot=()