Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to know my GTK version (i am working on Ubuntu 11.10) using a command line or any thing

share|improve this question
dpkg -l "*gtk*" | grep ii – Anonymous Nov 11 '11 at 23:51

3 Answers

up vote 4 down vote accepted

apt-cache policy libgtk2.0-0 libgtk-3-0 (optionally pipe to grep Installed)

or

dpkg -l libgtk2.0-0 libgtk-3-0

share|improve this answer
man you miss t in second libgtk-3-0 – Naruto Nov 12 '11 at 12:45
@Naruto, thanks. Fixed now. – zpletan Nov 12 '11 at 14:24

Try this: dpkg -l libgtk2.0-0 libgtk-3-0 This will give info for both GTK 2 and 3.

share|improve this answer

--get-selections will show you the installed packages

dpkg --get-selections | grep gtk
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.