title: How should a dotnet core command line application be installed on a Linux system
body: <p>I'm maintaining a couple of .NET applications on GitHub. I've been getting requests to port them over to .NET Core so that they can be used on Linux systems. I would like to make the Linux users' life easy by providing some sort of package like NuGet that can be installed.</p>
  
  <p>However I'm not aware of any conventions for where the executable files actually should live in the file system. Ideally, the binaries will be deployed in directories on the <code>PATH</code>, but I'm not sure what convetions dotnet Core uses when it comes to the physical locations of .NET assemblies.</p>
  
  <p>Ideally, I'd like to deploy:</p>
  
  <ul>
  <li>The main assembly, <code>pytocs.dll</code></li>
  <li>A shell script that asks the dotnet core executive to launch the tool:</li>
  </ul>
  
  <pre><code>#!/bin/bash
  dotnet pytocs.dll "$@"
  </code></pre>
  
  <p>but I don't know where those two file should go.</p>