Installing GTK 3 and Glade Development Tools in Linux

When developing projects using the Glade user interface designer and GTK+ 3, the Glade application and the GTK library must be installed on the development computer. This article shows how to install these components on a Debian based Linux distribution such as Linux Mint or Ubuntu. Installing GTK 3 and Glade development tools in Linux from the command line is described in the sections below.

Installing Glade

To install Glade, enter the following on the command line in a terminal window:

The following was installed on my Linux Mint 17.2 computer:

After installation Glade can be started from the desktop menu under Menu → Programming → Glade as shown in the image below for a Linux Mint computer.

Starting Glade from the Linux Mint Menu
Starting Glade from the Linux Mint Menu

This installed Glade version 3.16.1.

Glade Version 3.16.1 Installed
Glade Version 3.16.1 Installed

Installing the GTK+ 3 Development Library

GTK development library files must be installed in order to be able to develop and compile GTK applications. Install the GTK+ 3 library files using the following command in a terminal window.

The following files were installed on my Linux Mint 17.2 computer.

Installing a Text Editor

After installing GTK 3 and Glade development tools, your computer should be set up for developing applications using GTK+ 3 and Glade. You may also want to install a text editor such as Geany which is very useful when developing software as it provides syntax highlighting for a large number of programming languages as well as other useful functionality for programmers.

Installing Geany from the command line:

Geany is available on the Linux Mint Menu under Menu → Programming → Geany

7 thoughts on “Installing GTK 3 and Glade Development Tools in Linux”

  1. I had tried a couple of different web based installation instructions. I just made a bigger mess. You are direct, to the point, and current. I am now in action.

  2. Would GTK ever “automatically” install on my computer? I’m not a developer and my soon to be ex husband is a hacker – is this linked to remote hacking?

    1. libgtk-3-dev is the GTK 3 development library, it usually isn’t installed by default. It hasn’t got anything to do with hacking, but any software that has vulnerabilities could potentially be hacked.

  3. So if someone just wanted the GTK+ runtimes, but not the development environment, they would instead type

    sudo apt-get install libgtk-3?

  4. I did the steps above on Ubuntu 18.04. Glade starts OK via the programs->glade menu or if I type “glade” into a terminal window. However, when I do the latter, I also get 8 error messages like this:
    GladeUI-Message: 21:54:08.952: 1 missing displayable value for GtkWidget::events
    GladeUI-Message: 21:54:09.301: Glade needs artwork; a default icon will be used for the following classes:
    GtkApplicationWindow needs an icon named ‘widget-gtk-applicationwindow’
    GThemedIcon needs an icon named ‘widget-gtk-themedicon’
    WebKitWebView needs an icon named ‘widget-webkit2gtk-webview’
    WebKitSettings needs an icon named ‘widget-webkit2gtk-settings’

    etc. How do I install the things it is asking for?

Leave a Reply

Your email address will not be published. Required fields are marked *