Licences

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am Mi, den 07.12.2005 schrieb Ugo Bellavance um 17:25:

> 	I'm looking for a way to determine the licenses of packages we're using.
> 
> 	Is there a command (rpm, yum, up2date...) that will take the package 
> name as argument and return me the licence?
> 
> 	Or is everything included with Centos 4 GPL?  That is the only licence 
> I found in the repositories...  I remember that RH had the habit of 
> putting all the applicable licences on the distros' CD.


rpm -q --qf '%{LICENSE}' <packagename>

rpm -qa --qf '%{NAME} is licensed under %{LICENSE}\n' | sort

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 17:36:24 up 2 days, 22:13, load average: 0.19, 0.14, 0.10 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.centos.org/pipermail/centos/attachments/20051207/bed3826c/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux