Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I want to study how its GFileInfo components works.

share|improve this question

3 Answers 3

up vote 4 down vote accepted

Where did you get On most Linux distributions, there's an automatic way of retrieving the source code of a package.

For example, on Debian, Ubuntu and derived distributions, run dpkg -S to see what package belongs to, then apt-get source to get the source code of that package. Example ($ represents my shell prompt; on my system, the gio library is in a file called

$ dpkg -S
libglib2.0-dev: /usr/lib/
libglib2.0-0: /usr/lib/
$ apt-get source libglib2.0-0
share|improve this answer
Right, but you need the corresponding deb-src lines in /etc/apt/sources.list for that to work. – Faheem Mitha Mar 31 '11 at 22:32

The glib git repository.


share|improve this answer
That repository is gone. The current version is in a subdirectory of GLib: – flacs Aug 21 '13 at 22:30

GIO is part of GLib, so just download the latest GLib. The GTK+ project always has a link because it's a dependency of GTK.

There's also gio-standalone:

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.