Saturday, August 25, 2012

How to obtain information about GTK+ on Linux

     GTK+ is a cross-platform widget toolkit with Graphics User Interfaces (GUI) are designed. We come across these terms when you come across an application built based on GTK+ or any other version of GTK+. When you want to change the theme of your desktop,  you will see notes like these themes work for GTK+ 3x or GTK+ 2x etc. How to know what are GTK+ versions your system runs. So, for every problem or puzzle there is solution and this article might help you solve it.

Method 1:
  •  COLUMNS=150 dpkg --list libgtk2.0-0 libgtk-3-0


Method 2:
  •   dpkg --list libgtk2.0-0 libgtk-3-0


Method 3:
  •  apt-cache show libgtk2.0-0 libgtk-3-0 | grep Version


Method 4:
  • For detailed view,
      • apt-cache show libgtk2.0-0

      • apt-cache show libgtk-3-0


Method 5:
  • To know the details of the packages installed,
      • dpkg --get-selections | grep gtk


     So, hope you would be knowing how to find the GTK+ version of your system when you need to install any upcoming versions or to know if your GTK+ version is enough compatible for any software you install.












 

No comments:

Post a Comment