Skip to content

Instantly share code, notes, and snippets.

@soundkitchen
Created December 9, 2012 08:15
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save soundkitchen/4243857 to your computer and use it in GitHub Desktop.
Save soundkitchen/4243857 to your computer and use it in GitHub Desktop.
Amazon Linux AMI に OpenCV インスコしてみた。
# run as root
yum update
yum install gcc gcc-c++ make cmake
reboot
# run also as root
mkdir -p src/opencv
cd src
curl -O http://jaist.dl.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.3/OpenCV-2.4.3.tar.bz2
tar jxf OpenCV-2.4.3.tar.bz2
cd opencv
cmake ../OpenCV-2.4.3
make
make install
echo '/usr/local/lib' > /etc/ld.so.conf.d/local.conf
ldconfig
ldconfig -p|grep cv
@ashokjaga
Copy link

Thanks for documenting this process!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment