On Wed, 19 Nov 2003 11:55:03 -0600, Ed Wilts wrote: > On Wed, Nov 19, 2003 at 10:34:35AM -0600, Kunkel, Mark wrote: > > We are creating a application which will run on Linux. The question that we > > have is, > > how do we know what licenses we are subject to. In order to determine this, > > I need to know what license governs the usage of the various libraries. So, > > if I know what library I am using, how do I determine what license governs > > its use, and where can I find a copy of the license? > > If you know the file name, you can get the package name with: > $ rpm -qf <filename> > > Given the package name, you can get the license type: > rpm -q --queryformat "%{NAME} %{LICENSE}\n" <package> Or just: rpm -qi PACKAGENAME | grep Licen Most [software development] packages should include a copy of the licence text. Many include it in /usr/share/doc/NAME-*/COPYING or similar files. Browse the package contents a bit to get familiar with what is included. --
Attachment:
pgp00783.pgp
Description: PGP signature