title: Linux/UNIX install data files
body: <p>I understand that when installing a C++ command line program on Linux/UNIX, it is customary instead of leaving it in its original directory, to move it to a directory that is already on the path, so I have a make install entry:</p>
  
  <pre><code>mv ayane /usr/local/bin
  </code></pre>
  
  <p>Looking a bit further ahead, I'm going to end up with a directory or two full of configuration, data and script files, which the program needs to read, some at startup, some later on demand, and in some cases subsequently modify and save again.</p>
  
  <p>This leads to the question of how the program can know where its data files are located. Looking in /bin on my Ubuntu Linux virtual machine, it seems to live up to its name in containing only binary files, so the data files are not typically placed in the same directory as the program.</p>
  
  <p>What's the usual solution for putting data files in a location that can be known to the program?</p>