title: I'm getting a "command not found" error when trying to install "xgboost" in an Ubuntu 16.04 Virtual Machine
body: <p>I'm trying to install <code>xgboost</code> in an Ubuntu 16.04 virtual machine.</p>
  
  <p>I'm following <a href="https://xgboost.readthedocs.io/en/latest/build.html#building-on-ubuntu-debian" rel="nofollow noreferrer">this guide</a> and ran this command:</p>
  
  <pre><code>cmake ..
  </code></pre>
  
  <p>I got this error:</p>
  
  <pre><code>-bash: cmake: command not found
  </code></pre>
  
  <p>What am I doing wrong and how can I get rid of this error?</p>