Last active
September 28, 2020 11:46
-
-
Save dnordgren/665af430064cdbaa9a31 to your computer and use it in GitHub Desktop.
OpenCV install on RHEL 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# inspired by http://superuser.com/questions/678568/install-opencv-in-centos | |
sudo yum groupinstall "Development Tools" | |
sudo yum install gcc cmake git gtk2-devel pkgconfig numpy ffmpeg | |
sudo mkdir /opt/working | |
cd /opt/working | |
sudo git clone https://github.com/Itseez/opencv.git | |
cd opencv | |
sudo mkdir release | |
cd release | |
sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .. | |
sudo make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment