shell scripts to install different version of OpenCV in different distributions of Linux
if your system is Ubuntu, run the commands below.
$ cd Ubuntu
$ chmod +x *
$ ./opencv_latest.sh
if your system is RedHat, run the commands below.
$ cd RedHat
$ chmod +x *
$ ./opencv_latest.sh
if your system is ArchLinux, run the commands below.
$ cd ArchLinux
$ chmod +x *
$ ./opencv2_4_0.sh