[CentOS] Licences

Wed Dec 7 16:34:33 UTC 2005
Feizhou <feizhou at graffiti.net>

Ugo Bellavance wrote:
> Hi,
> 
>     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?

rpm -qi packagename

Look for what comes after License:
> 
>     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.
> 
> Thanks,

Not everything is GPL.