I want to study how its GFileInfo components works.


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
| improve this answer | |
  • 1
    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.


| improve this answer | |

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/

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.