First:

$ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa$ sudo apt-get update

Next:Create a new doc and save as opencv.sh

 version="$(wget -q -O - http://sourceforge.net/projects/opencvlibrary/files/opencv-unix | egrep -m1 -o '\"[0-9](\.[0-9])+' |...
Keep on reading ›