Page 1 of 1

Software list for CentOs 4.5?

Posted: 2008/02/08 10:29:23
by mtweidmann
Hello,

Is there such a thing as software list for CentOS 4.5? I know I can list the rpms, and this does give me what I need. But if a complete list of sofware packages (e.g KDE 3.3.1 instead of all the seperate KDE RPMs) exists it would save me some time. I tried browsing the CentOS site and of course Googling. So far I've only found summary lists (kernel+GCC+X+KDE+Gnome typically). Any suggestions appreciated.

Martin

Re: Software list for CentOs 4.5?

Posted: 2008/02/08 11:20:43
by mtweidmann
Following on from my own post, one of my aims to come up with a list of the different licenses in CentOs 4.5 (GPL 2, LGPL, ....).

Software list for CentOs 4.5?

Posted: 2008/02/13 20:43:54
by K_Frye
[quote]
mtweidmann wrote:
Hello,

Is there such a thing as software list for CentOS 4.5? I know I can list the rpms, and this does give me what I need. But if a complete list of sofware packages (e.g KDE 3.3.1 instead of all the seperate KDE RPMs) exists it would save me some time. I tried browsing the CentOS site and of course Googling. So far I've only found summary lists (kernel+GCC+X+KDE+Gnome typically). Any suggestions appreciated.

Martin[/quote]

I don't know of one. If you maintain a local rsync mirror of CentOS, it's trivial to extract the license type from an RPM.

eg:

[kfrye@TestServer:/var/yum/Centos/Dag.Wieers/dag/RPMS] $ rpm -q --queryformat '%{LICENSE}\n' -p acroread-5.0.10-1.2.el4.rf.i386.rpm
Commercial, Freely Distributable

[kfrye@TestServer:/var/yum/Centos/Dag.Wieers/dag/RPMS] $ rpm -q --queryformat '%{LICENSE}\n' -p cacti-0.8.7-1.el4.rf.noarch.rpm
GPL

[kfrye@TestServer:/var/yum/Centos/4/updates/i386/RPMS] $ rpm -q --queryformat '%{LICENSE}\n' -p xorg-x11-6.8.2-1.EL.33.0.2.i386.rpm
MIT/X11, and others

or you can pretty it up a bit:

[kfrye@TestServer:/var/yum/Centos/4/updates/i386/RPMS] $ rpm -q --queryformat '%{NAME} uses %{LICENSE}\n' -p wireshark-0.99.7-1.i386.rpm
wireshark uses GPL


Lots of good info for RPM querying:

http://www.rpm.org/max-rpm/ch-rpm-query.html
http://www.rpm.org/max-rpm/s1-rpm-query-parts.html#S3-RPM-QUERY-QUERYFORMAT-OPTION