title: How to install OpenCV on Amazon Linux?
body: <p>I'm trying to install OpenCV for use with <a href="http://www.pastec.io" rel="nofollow">Pastec</a> on an Amazon Linux instance. This is my first time using an Amazon service, and I don't have much experience using linux...</p>
  
  <p>How would I install OpenCV and it's dependencies on Amazon Linux?</p>
  
  <p>I have tried adding the EPEL repository using this command:</p>
  
  <pre><code>$ sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  </code></pre>
  
  <p>... which works but it still won't install OpenCV...</p>
  
  <pre><code>$ sudo yum --enablerepo=epel install opencv-core
  Loaded plugins: priorities, update-motd, upgrade-helper
  948 packages excluded due to repository priority protections
  Nothing to do
  </code></pre>