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