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? 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, -- Ugo -> Please don't send a copy of your reply by e-mail. I read the list. -> Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies.
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.
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: signature.asc 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-0002.sig>
> 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 -qai | grep -E '^Name|License:' Will.