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

Now that Google Drive is available, how do we mount it to a Linux filesystem? Similar solutions exist for Amazon S3 and Rackspace Cloud Files.

share|improve this question
Share your support: plus.google.com/s/%23DriveForLinux/posts – Travis R Apr 25 '12 at 6:31
up vote 18 down vote accepted

Grive or inSync is a file sync tool which syncs up a local file system and remote Google Drive. You cannot "mount" Google Drive using these tools.

For mounting, use google-drive-ocamlfuse, FUSE-based filesystem for Google Drive.

Installation instructions, and more details about configuration, and authorization are at the Installation of FUSE filesystem over Google Drive wiki page (on GitHub).

The project's GitHub homepage also has the readme file that is for the google-drive-ocamlfuse source code.

Here are distro-specific instructions to mount Google Drive with google-drive-ocamlfuse.

share|improve this answer
Welcome to Stack Exchange! This looks like a great tool. One caveat seems to be that it requires a web browser to authenticate with oauth2. You may want to edit your answer to indicate as such. – brianbaligad Oct 21 '13 at 19:09
Yes, but there is a workaround to get authorization on a headless host (github.com/astrada/google-drive-ocamlfuse/wiki/…). You will still need a browser, but it does not have to be on the same machine. – astrada Oct 31 '13 at 8:54

An open source client for Google Drive has just been released: Grive.

For now, the application is considered experimental and it lacks full sync, but it can upload and download new or changed files already (so you can access your files offline). What it can't do yet is: wait for changes and automatically sync the files or delete files (when a file is deleted locally, it's ignored and when it's deleted remotely, it's reuploaded if it exists locally).

Sources and binaries are available on Github. A third party, webupd8, has provided a PPA for Ubuntu.

share|improve this answer
Currently a dead link - try: github.com/Grive/grive – Alex Jul 22 '12 at 20:24
Thanks, I've updated the url. – brianbaligad Aug 8 '12 at 8:50
According to the docs, grive seems not to be able to access Google Docs, but for that the other answer could help: <code.google.com/p/google-docs-fs/wiki/OnlineManual>;. Am I right that they complement each other? – imz -- Ivan Zakharyaschev Oct 2 '12 at 10:06
Isn't that curious that grive tries to mimick the "syncing" behaviour of a Gogle Drive client, rather then following the traditional Unix approach of mounting a filesystem? For me, it would seem more convenient to decide which file on the remote FS I want to open, and only then the transfer would happen. What if I don't want to sync every file? Of course, syncing rather then mounting can make sense inside an implementation of a distributed FS, rather then centralized remote FS -- look at git-annex as a possible implementaton of a distributed FS. Mounting then could be made on top of sync. – imz -- Ivan Zakharyaschev Oct 2 '12 at 10:15
No updates for over 2 years. This seems abandoned. – Tom Dworzanski Jun 25 '15 at 9:29

There is an SDK available, so someone will probably make a linux solution soon. There is also a drive on Google+ going on right now to get Google to add a Linux client, in addition to the Windows, Mac, and Android clients (not to mention their plans for an iOS client.)

Then they will be on par with Dropbox :) (with a bit more extra free space by default)

UPDATE: Google has announced a Linux client is on its way. :)

share|improve this answer
Yeah, they announced it's on it's way. But still no Linux client. I was hoping for an implementation by the open community with FUSE or something... – polemon Jun 13 '12 at 17:56
Is there a source for this announcement? – Alex Sep 21 '12 at 22:41

A package from Luca Invernizzi exists to do so. See http://code.google.com/p/google-docs-fs/wiki/OnlineManual.

For Ubuntu:

First you need to add the packages provided by Luca and available in his PPA (Ubuntu 11.10 only at present):

sudo add-apt-repository ppa:invernizzi/google-docs-fs
sudo apt-get update && sudo apt-get install google-docs-fs

Once everything that’s needed has been installed log out and back in.

  1. Open Nautilus Create a new folder in your Home folder titled Drive
  2. Open a Terminal and run: gmount Drive username@gmail.com
  3. Input your password
  4. Your Google Drive is now mounted in the Drive folder

Source: How to access Google Drive via Nautilus in Ubuntu

share|improve this answer
It seems it's only for Google Docs. The docs are just a part of Google Drive; am I right? But then there's grive from the other answer to access everything but the docs. – imz -- Ivan Zakharyaschev Oct 2 '12 at 10:07
On Ubuntu 12.04 (ARM, not the usual i386) I could wget and install with dpkg --install the "gdrive" package form there -- after apt-get install python-gdata python-fuse. – imz -- Ivan Zakharyaschev Nov 29 '12 at 23:09
To download the deb and install after the apt-get install python-gdata python-fuse is still working. it didn't prompt on wrong password. – Hastur 4 hours ago

I've just discovered insync. Dunno how good can be. Seems to be closed sourced.

Here it is: https://forums.insynchq.com/discussion/1545/insync-for-linux-beta-10-0-9-25


share|improve this answer

Insync is a Linux client for Google Drive with the following features:

  • multiple Google accounts support
  • offline Google docs editing
  • right-click share in the context menu
  • recent changes notifications
  • external hard drive support
  • support for the most popular distributions (Ubuntu, Linux Mint, Debian, Fedora, openSUSE)
  • support for the most popuar desktop environments (Unity, MATE, GNOME Shell, Cinnamon, KDE 4, Xfce)
  • support for multiple file managers (Nautilus, Caja, Nemo, Dolphin, Thunar)

Learn more at insynchq.com/linux.

Disclaimer: I'm one of the developers of Insync.

share|improve this answer

An alternative approach is to use an online service to access Google Drive using WebDAV (e.g. using http://synqya.appspot.com) so there is no need for a client installation or other add-ons.

share|improve this answer

Insync is actually the best client for Google Driver around


It's full featured, and free during the beta phase.

share|improve this answer

I followed the instructions here:


and got it to work successfully on Fedora 16.

This builds google-drive-ocamlfuse, which is then used to access google drive.

share|improve this answer
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. – slm Mar 3 '14 at 21:56
This is your opinion, without supplying any facts as to why "it did not work for you" not really answer and a poor comment too. – X Tian Mar 3 '14 at 22:46
Please review my updated post, it provides factual information. – user1725779 Mar 3 '14 at 22:54
Thanks for updating, but now you've got a subset of the information that's in the accepted answer. – Mat Mar 4 '14 at 3:59

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.