title: Debian - Install cmake from pre-compiled binaries
body: <p>I'm running Debian 8.5 (jessie), but I need cmake 3.5.2 and with apt-get it installed 3.0.2.</p>
  
  <p>So, I downloaded from cmake.org site: <code>wget https://cmake.org/files/v3.6/cmake-3.6.0-rc2-Linux-x86_64.sh</code></p>
  
  <p>When unpacked I got the files</p>
  
  <p><code>$ ls -la
  total 24
  drwxr-xr-x 6 ricardo ricardo 4096 Jun 13 20:22 .
  drwxr-xr-x 6 ricardo ricardo 4096 Jun 13 20:22 ..
  drwxr-xr-x 2 ricardo ricardo 4096 Apr 15 10:00 bin
  drwxr-xr-x 3 ricardo ricardo 4096 Apr 15 10:00 doc
  drwxr-xr-x 4 ricardo ricardo 4096 Apr 15 10:00 man
  drwxr-xr-x 7 ricardo ricardo 4096 Apr 15 10:00 share
  </code></p>
  
  <p>I didn't find any script, make file, or something like that. So, I copied manually <code>bin</code> to <code>/usr/bin</code>,
  <code>/man/man1/*</code> to <code>/usr/share/man/man1</code>,
  <code>/man/man7/*</code> to <code>/usr/share/man/man7</code>, and
  <code>/share/cmake-3.5</code> to <code>/usr/share/cmake-3.5</code></p>
  
  <p>But there is not a script to do this automatically? </p>
  
  <p>On the site <a href="https://cmake.org/install/" rel="nofollow">https://cmake.org/install/</a>, they talk about a <code>./bootstrap</code> script, but it didn't come on the package.</p>