LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2008, 12:15 PM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
how to know: gtk and qt?


When installing stuff, you often get given a list of dependency requirements, with qt and GTK most often coming up.

how do I knwo which version of them do I have installed? "qt --version" doesn't seem to work, and GTK seems to have several types of libraries, so I can't think which of them should have their version number checked.

Any short cuts for working this out?
 
Old 06-18-2008, 12:46 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Depending on your distro you can query the packages that are installed. With Slackware you would use something like pkg-config, on Gentoo you use emerge, equery, or something similar, and with RPM based distros you can use rpm -qa

-Chad
 
Old 06-18-2008, 01:54 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by MasterC View Post
With Slackware you would use something like pkg-config
You mean pkgtool . A simple less on /var/log/packages also works.
 
Old 06-18-2008, 04:43 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally Posted by Nylex View Post
You mean pkgtool . A simple less on /var/log/packages also works.
I meant pkgtool I even thought about it for half a second after I typed pkg-config.. Thanks for the "fix"

-Chad
 
Old 06-18-2008, 07:56 PM   #5
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Original Poster
Rep: Reputation: 32
thanks for replies.
I really should know all this, but unfortunately I'm a rather undisciplined slack user.
I tried "pkgtool GTK2+". And it takes forever ...

what a ninkumpoop I am!

I should have sensed that, as an _interactive_ tool, it requires no arguments. Nor will it give you any errors, if it gets an argument.

I can't believe I've had to write this, to discover this.

thanks for your help anyhow.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK+ programs on Windows without having to install GTK+, GLib, etc Nylex Programming 2 02-19-2006 02:33 PM
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 12:57 PM
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 01:51 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 01:46 AM
compiling gaim/ gtk error (two versions of gtk) webazoid Linux - Software 0 07-06-2004 07:05 PM


All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration