check gtk version

Bill Fink yellowdog-general@lists.terrasoftsolutions.com
Tue Jun 22 22:50:01 2004


Hi Ben,

On Tue Jun 22 17:41:01 2004, Ben Buchanan wrote:

> How can I check what version of gtk I have installed?

On my system, I actually have 2 versions of gtk installed, one for
programs that require the older gtk+ and the other for programs that
require the newer gtk2:

	gwiz% rpm -q gtk+
	gtk+-1.2.10-22

	gwiz% rpm -q gtk2
	gtk2-2.2.1-1a

And if you want to find out all RPMs installed on your system that
have gtk in their name:

	gwiz% rpm -qa \*gtk\*
	gtk+-1.2.10-22
	rep-gtk-0.17-4
	gnome-python2-gtkhtml2-1.99.14-5b
	gtk+-devel-1.2.10-22
	gtk2-devel-2.2.1-1a
	gtk2-2.2.1-1a
	pygtk2-libglade-1.99.14-4a
	pygtk2-1.99.14-4a
	pygtk-0.6.8-3
	gtk-engines-0.11-13
	gtkhtml2-2.2.0-3
	gtkspell-2.0.4-fr2
	pygtk-libglade-0.6.8-3

Of course that's assuming you're using RPMs to manage your system
(which I highly recommend).

						-Bill