Where to put program license? (linux)

Discussion in 'Computer Programming, Emulation, and Game Modding' started by StackMasher, Jan 3, 2017.

Jan 3, 2017
  1. StackMasher
    OP

    Newcomer StackMasher Advanced Member

    Joined:
    Nov 29, 2016
    Messages:
    50
    Country:
    Antarctica
    Is there a specific directory in usr/ where you're supposed to put licenses or should I just put it in usr/share?
     
  2. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    22,739
    Country:
    United Kingdom
    Do you mean the text files that come with source code, and typically in general for linux software, and says something like "this is GPLv2, have a copy of it below." or have you paid for a bit of software and need to put the code to have it run somewhere?

    For the former then /usr/share/doc/[whatever program or lib or whatever it is]/ will have a file called copyright in it, you can feed this to cat or your chosen text viewer.
    For the latter then case by case basis.
     

Share This Page