tags:

views:

39

answers:

2

I want to know whether we need to download GTK for making graphical interfaces in C on linux, since i have read somewhere that it is by default installed.

+1  A: 

There exist a lot of library to do GUI in linux. Some are installed by default depending on the Distribution and your environment (eg: gnome come with GTK).

You can also want to use other library like qt... (with may required an installation if it is not provided in your distribution, but nowadays, It is really easy to install such library eg: apt-get, yum, rpm...)

Phong
Note that if you distribute your software as a package, you simply have to make the package depend on the GTK+ package. If it's not already installed, the package manager will install it along with whatever other dependencies are needed.
Jefromi
And QT is not C.
George Edison
+1  A: 

You have a number of choices for a GUI on Linux. Most distros ship with x11 at least, though you will have to design the controls yourself. GTK and QT are two common toolkits, which have their own look and feel (of course QT isn't C).

George Edison