Debian / Ubuntu Linux: Install GTK 2+ Development Environment

I recently installed Debian version 6.x on my Mac book pro. I wanted to write code in C/Gnome GTK and develop apps for fun and profit. How do I install C and Gnome gtk development environment under Debian or Ubuntu Linux operating systems?

Tutorial details
Difficulty Easy (rss)
Root privileges Yes
Requirements Debian/Ubuntu
Time N/A
You need to install the following packages under Debian and Ubuntu Linux operating systems:

ADVERTISEMENTS

[a] build-essential : This package contains an informational list of packages which are considered essential for building Debian packages including gcc compiler, make and other required tools.

[b] gnome-devel : This package contains the GNOME Desktop Environment development tools.

Installations

Open a terminal and type the following commands:

sudo apt-get update
sudo apt-get upgrade 
sudo apt-get install build-essential gnome-devel

How do I write GTK+ gnome apps?

You need to use Anjuta IDE. It is a versatile Integrated Development Environment (IDE) for the GNOME desktop. It features a number of advanced programming facilities includes project management, application wizards, an interactive debugger, an integrated Glade UI designer, integrated Devhelp API help, an integrated Valgrind memory profiler, an integrated gprof performance profiler, a class generator, a powerful source editor, source browsing, and more. To start Anjuta IDE, visit:
Applications > Programming > Anjuta IDE
Sample outputs:

Fig.01: Gnome GTK+ Anjuta DevStudio IDE In Action

Fig.01: Gnome GTK+ Anjuta DevStudio IDE In Action

See also

See the documentation for app developers and designers at the following web sites:

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
3 comments… add one
  • Meow Jan 8, 2013 @ 14:43

    useless, better switch to Qt and have a better life.

  • fo Jan 20, 2015 @ 0:19

    Jesus this was the opposite of useful. Reductive, skipping essential steps, real amateur hour. Get off the web. You don’t belong.

  • Noe Oct 13, 2016 @ 2:26

    Thanks!, I start to learned GTK+ with C :)

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.