Where to put program license? (linux)

  • Thread starter Thread starter StackMasher
  • Start date Start date
  • Views Views 901
  • Replies Replies 1

StackMasher

Well-Known Member
Member
Joined
Nov 29, 2016
Messages
136
Reaction score
65
Trophies
0
Age
23
XP
410
Country
Is there a specific directory in usr/ where you're supposed to put licenses or should I just put it in usr/share?
 
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.
 

Site & Scene News

Popular threads in this forum