title: How do I install a built C++ library to /usr/include?
body: <p><strong>Goal</strong></p>
  
  <p>I would like to install the latest C++ Pointcloud library: <a href="http://pointclouds.org/" rel="nofollow noreferrer">PCL</a> release 1.8 on Ubuntu 16.04, and install it in a way such that I can import it in C++ code like:</p>
  
  <pre><code>#include &lt;pcl/filters&gt;
  </code></pre>
  
  <p><strong>Progress</strong></p>
  
  <p>I have followed the tutorial: <a href="https://gist.github.com/IgniparousTempest/ce5fadbe742526d10d6bdbf15c3a3fe7#file-ubuntu_16-06_pcl_1-8-0_install-sh" rel="nofollow noreferrer">https://gist.github.com/IgniparousTempest/ce5fadbe742526d10d6bdbf15c3a3fe7#file-ubuntu_16-06_pcl_1-8-0_install-sh</a></p>
  
  <p>The commands ran successfully, and the library (both .cpp and .h files) are currently at: <code>~/Documents/pcl</code>.</p>
  
  <p><strong>What should I do next?</strong></p>
  
  <p>What do i need to do with this library now?</p>
  
  <p>I am fairly new to installing C++ libraries like this is Linux, in particular using cmake and make commands. </p>
  
  <p>I previously installed pcl 1.7 using the terminal command <code>sudo apt-get install libpcl-all</code>.This placed header files in <code>/usr/include/pcl-1.7/</code>. Where did the corresponding .cpp files go? I could not locate them using the bash command <code>$ locate generic_pcl_filename.cpp</code> </p>
  
  <p>I also wonder whether I should place the pcl 1.8 folder in the <code>/usr/include</code> directory, but this seems wrong as the folder also contains .cpp files.</p>
  
  <p>Any advice and information on this would be much appreciated.</p>