# Note: depends on cmake wget -c https://github.com/opencv/opencv/archive/4.1.0/opencv-4.1.0.tar.gz tar -xzf opencv-4.1.0.tar.gz cd opencv-4.1.0 sed -i -e '/./d' cmake/*Download* # Running cmake should not result in any downloads mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX="/usr" -DWITH_IPP=OFF -DWITH_ADE=OFF .. make # Doesn't mind -j# make install