title: How to call yum install as a Makefile's target
body: <p>How to create a Makefile's target that calls a specific <code>yum install</code>:</p>
  
  <pre><code>yum install libarchive-devel.x86_64
  </code></pre>
  
  <p><strong>but only</strong> if the desired package isn't yet installed. Maybe a <code>yum list installed | grep libarchive</code> to check...</p>
  
  <p>My goal is to call: <code>sudo yum install libarchive-devel.x86_64</code> but only if the package isn't installed yet. A kind of <em>Maven like</em> in an abstract way.</p>
  
  <p>Don't need any specific version of it. Only it to be x86_64.</p>