Micah P. Dombrowski / Nov 22 2018

OpenCV 3.4 Build

Ubuntu Bionic source pkg, building on Debian Stretch

Stretch
Download as Docker image from:
This image was imported from: debian:stretch
apt-get -qq update
apt-get install -y gnupg

echo "deb-src http://ppa.launchpad.net/timsc/opencv-3.4/ubuntu bionic main" > \
  /etc/apt/sources.list.d/opencv.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 \
  --recv-keys 145E5D3FC3D52267725D8CD48A9CA30DB3C431E3
apt-get -qq update
apt-get build-dep -y opencv

mkdir build
cd build

CONCURRENCY_LEVEL=5 apt-get source -t bionic --build opencv
apt-get clean
rm -rf /var/lib/apt/lists/*