Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to study how its GFileInfo components works.

share|improve this question
up vote 4 down vote accepted

Where did you get libgio.so? 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 libgio.so 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 libgio-2.0.so):

$ dpkg -S libgio-2.0.so
libglib2.0-dev: /usr/lib/libgio-2.0.so
libglib2.0-0: /usr/lib/libgio-2.0.so.0
$ 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: git.gnome.org/browse/glib/tree/gio – 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: http://ftp.acc.umu.se/pub/gnome/sources/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.