Introduction to Gvfs

The Gvfs package is a userspace virtual filesystem designed to work with the I/O abstractions of GLib's GIO library.

This package is known to build and work properly using an LFS-8.3 platform.

Package Information

Gvfs Dependencies


dbus-1.12.10, GLib-2.56.1, libsecret-0.18.6 and libsoup-2.62.3



Apache-2.4.34, Avahi-0.7, BlueZ-5.50, dbus-glib-0.110, Fuse-2.9.7, gnome-online-accounts-3.28.0, GTK-Doc-1.28, libarchive-3.3.2, libgcrypt-1.8.3, libxml2-2.9.8, libxslt-1.1.32, OpenSSH-7.7p1, Samba-4.8.4, libbluray, libgphoto2, libimobiledevice, libmtp, libnfs, and Twisted

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gvfs

Installation of Gvfs

Install Gvfs by running the following commands:

mkdir build &&
cd    build &&

meson --prefix=/usr     \
      --sysconfdir=/etc \
      -Dfuse=false      \
      -Dgphoto2=false   \
      -Dafc=false       \
      -Dbluray=false    \
      -Dnfs=false       \
      -Dmtp=false       \
      -Dsmb=false       \
      -Ddnssd=false     \
      -Dgoa=false       \
      -Dgoogle=false    .. &&

This package does not come with at test suite.

Now, as the root user:

ninja install


If you installed the package to your system using a “DESTDIR” method, /usr/share/glib-2.0/schemas/gschemas.compiled was not updated/created. Create (or update) the file using the following command as the root user:

glib-compile-schemas /usr/share/glib-2.0/schemas

Command Explanations

-D<option>=false: These switches are required if the corresponding optional dependency is not installed. Remove those where you have installed the corresponding application and wish to use it with Gvfs. The dnssd option requires avahi and both goa/google require GNOME Online Accounts.

-Dcdda=false: This switch is required if libcdio is not installed. The cdda backend is useless on machines without a CDROM/DVD drive.


Installed Programs: None
Installed Library: libgvfscommon.so, libgvfsdaemon.so and some under /usr/lib/gio/modules/
Installed Directories: /usr/include/gvfs-client and /usr/{lib,share}/gvfs

Short Descriptions


contains the common API functions used in Gvfs programs.

Last updated on 2018-08-23 13:54:05 -0700