Take the 2-minute tour ×
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
@Anonymous: that returns 50 lines on my Debian system. –  Zayne S Halsall Jun 21 '14 at 20:59
@ZayneSHalsall try the answer below that have  this sign –  Naruto Jun 24 '14 at 12:20

3 Answers 3

up vote 16 down vote accepted

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


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


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.