title: How/Which directory to install a 3rd party C++ library on Ubuntu?
body: <p>I'm just beginning to learn more about Linux as I'm using Ubuntu.</p>
  
  <p>I'm trying to install a header-only library called "date.h" from <a href="https://github.com/HowardHinnant/date" rel="nofollow noreferrer">here</a></p>
  
  <p>An excerpt from the github states that this is a header-only library</p>
  
  <blockquote>
    <p>"date.h" is a header-only library which builds upon &lt;chrono&gt;. It adds some new duration types, and new time_point types. It also adds "field" types such as year_month_day which is a struct {year, month, day}. And it provides convenient means to convert between the "field" types and the time_point types.</p>
  </blockquote>
  
  <pre><code>git clone https://github.com/Microsoft/vcpkg.git
  cd vcpkg
  ./bootstrap-vcpkg.sh
  ./vcpkg integrate install
  vcpkg install date
  </code></pre>
  
  <p>I followed the above instruction and now I have <code>/home/username/vcpkg/</code> with many other directories underneath it.</p>
  
  <p>I navigated to <code>/home/username/vcpkg/installed/x64-linux/include/date</code> and found <code>date.h</code> and <code>tz.h</code>, which I were looking for.</p>
  
  <p>I'm trying to use them in a C++ project but I'm not sure how to tell the compiler where to find the header files. Should I cut/copy paste <code>/date</code> directory into <code>/user/include/c++/9</code>, or <code>/usr/local/include</code>, or <code>/usr/local/include/x86_64-linux-gnu</code>? or should I do none of those? Am I supposed to define the path to the library in my files/makefile somehow?</p>
  
  <p>Thank you</p>