Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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'd like to install a Google Drive client for Xubuntu (12.04).

I'm getting non-English Google results, and I didn't find grive in the Xubuntu repositories.

Does anyone know of a client that works well for Ubuntu or it's supported derivates (or installation instructions for grive?)

share|improve this question
If you aren't set on Google drive try Media Fire Express. – Goddard Aug 22 '12 at 10:21
try this works fantastic on Ubuntu. – user150562 Apr 19 '13 at 11:45
This is either a big coincidence or you are the same user as posting the same question an hour ago. – gertvdijk Jul 15 '13 at 16:29
There's not an offical app for Ubuntu. That's why use web version until release for linux :) – Zulfugar Ismayilzadeh Jul 15 '13 at 17:15
oh and guess what - – Mateo May 30 '15 at 22:31

18 Answers 18

up vote 82 down vote accepted

Apparently grive exists on a ppa - I installed it and it works reasonably well. This is preferable in my opinion over the google-docs-fs solution, since that doesn't put your files permanently on your drive, and grive does. Also, grive isn't a commercial venture like InSync - which is described as "free during beta".

The PPA for grive can be found on webupd8's site using these instructions:

Grive: Open Source Google Drive Client For Linux ~ Web Upd8: Ubuntu / Linux blog

One limitation that the current version of grive has is that it doesn't automatically sync your drive directory. But I found this blog post describing a script to fix this and make grive sync whenever a file in the drive directory is changed.

(This answer is originally based on @uri's comment, which has since disappeared)

EDIT: grive is now officially dead, but grive2 is a fork of the original version with some improvements.

share|improve this answer
There's a new article on webupd8 now with updated information about grive. – Eyal Oct 15 '12 at 13:33
Grive now provides two-way sync...!!! – charlie Jun 29 '13 at 15:49
To make it automatically sync changes in ~/Drive, use this script after running grive -a first. Add this script to your Startup Applications to autostart. It uses inotifywait to watch for changes in the Drive folder. The link in the answer wouldn't work for me – minerz029 Aug 28 '13 at 7:54
A more up to date solution, install grive-tools from this ppa Or use SyncDrive – kert Mar 27 '14 at 16:29
GRIVE was a great tool but it sadly died on 20th April when Google discontinued service for the Google Documents List API version 3.0 API.… AND for more background... – Steve Ellis May 21 '15 at 9:02

Unfortunately, Not with an official client. An unofficial driver exists online.

Note that there is no 12.04 PPA. I've contacted the maintainer asking for one to be made.

There is currently no official Linux client supported by Google.

For Linux

Google Drive isn't currently available for the Linux operating system. Linux users can still access Google Drive on the web – New Window or through the Google Drive mobile app.

Refer to

There is an unofficial Gdrive FS in a PPA:

  1. execute sudo add-apt-repository ppa:invernizzi/google-docs-fs to add the PPA.

  2. once the command finishes, run sudo apt-get update && sudo apt-get install google-docs-fs to install GdriveFS. Please be patient as this step may take a while.

  3. Create a folder within your home folder called "Drive".

  4. Execute: gmount Drive, replacing your username as necessary, to mount your Google Drive. This must be run in a terminal. Test show that this application works fine, and is filemanager-independent, being an FS driver.

share|improve this answer
OK, gotcha, but then give him the instructions to build grive from git then, man! (upvote given in anticipation of compliance :P) – izx Jul 8 '12 at 19:28
@izx I couldn't find Git instructions, but did find a modified Google Docs FS that supports Drive. If you can point out the location of the instructions for Git, I would be happy to add them with credit. – hexafraction Jul 8 '12 at 19:35
Seems that PPA is offline or something. I cut & pasted your command-line comments in to a terminal and I'm getting 404s for that one PPA. :( – Doc Oct 11 '12 at 19:19
It doesn't seem to work on 12.04 right now... – hexafraction Oct 11 '12 at 20:58
Installed under 12.04 Precise, work for / google directory, but subdirs are empty. After some copy attempts stops working at all. – Dee Feb 19 '15 at 12:56


The grive package from the Ubuntu Software Center no longer works because Google has discontinued service for Google Documents List API version 3.0, replacing it with a new API. The grive package has been forked by Grive2. The Grive2 fork supports the new Google Drive REST API and it also includes a new feature: partial (directory) sync.

The instructions for installing Grive2 in all currently supported versions of Ubuntu are as follows:

  1. If you have already installed grive, first clear out the old version using this command:

    sudo apt-get purge grive
  2. Install Grive2

    sudo add-apt-repository ppa:nilarimogard/webupd8  
    sudo apt-get update  
    sudo apt-get install grive  
  3. Create a new directory in your home directory for syncing files with Google Drive.

    mkdir ~/grive  
  4. Change directories to the new grive folder.

    cd ~/grive  
  5. The first time you run Grive2 use the -a option for requesting an authorization token from Google which is used to get permission to access your Google Drive.

    grive -a

    grive will prompt you to input the authentication code for your Google Drive.

Google Drive integration in GNOME 3.18

GNOME 3.18 has native desktop integration that will let you easily browse, manage, open, upload, and download your files. Just add your Google account in GNOME's online accounts tool to get started.

share|improve this answer
It's worth mentioning that grive isn't by Google. – user25656 Jul 15 '13 at 16:58
GRIVE project is currently suspended after API updates from goole have caused it to stop working. See link below:… – Steve Ellis May 21 '15 at 8:58
I've opted for OCAMLFUSE as a stop-gap but am missing off-line working. I am also holding out for a better solution; maybe even a fully fledged Drive client from Google (as promised a couple of years back)... – Steve Ellis May 22 '15 at 8:57
It does not download the Googledocs documents :( – raacer Dec 7 '15 at 13:38
If you have already installed grive, use sudo apt-get purge grive first to clear out the old version. – iheggie Feb 17 at 14:05

OmgUbuntu posted an article about Google Drive and Ubuntu recently.


Note: as of time of answering, this app is still in beta.

  • Download the Insync.tar.gz

  • Extract to your Home folder

  • Open a new terminal and navigate into the extracted Insync folder using the ‘cd’ > command (e.g. cd insync/)

  • Run: sudo ./insync-installer Follow any on-screen prompts

After installing there are a few other things to note: After installation

  • Insync must be started from the Terminal by running insync
  • The app doesn’t auto-start by default, and there is no in-app way to enable > this


There is a Ubuntu package from the Download page which installs (via software centre by default), configures an update repository, optionally installs file browser integration and starts InSync.


This app mounts your drive so you can thread it like a file system. Instructions come from OmgUbuntu.

  • 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.

  • Open Nautilus
  • Create a new folder in your Home folder titled ‘Drive’
  • Open a Terminal and run: -
  • gmount Drive
  • Input your password

Your Google Drive is now mounted in the ‘Drive’ folder

share|improve this answer
But i think Insync doesn't provide an option to do a selective sync. It syncs all the files in my Google Drive. – devav2 Aug 22 '12 at 8:39
Not yet, but their working on it. See – OrangeTux Aug 22 '12 at 8:41
The second solution doesn't work on 12.04: W: Failed to fetch… 404 Not Found – Reinier Post Oct 8 '12 at 19:15
insync works just fine. downloaded installer and started app. nice ty. – zulu34sx Mar 20 '13 at 13:56
omgubuntu also posted a petition for a google supported drive client which is close to full. I Just signed. – yuvilio Dec 17 '13 at 19:33

Grive Tools will allow for easy desktop install of Grive and setup of Google Drive on Ubuntu 12.04 or later. NOTE: This project is no longer supported see UPDATE: July 2015

Grive Tools Screenshot

To install Grive Tools from The Fan Club PPA on Ubuntu 12.10 and later:

sudo add-apt-repository ppa:thefanclub/grive-tools
sudo apt-get update
sudo apt-get install grive-tools

Supported Desktops include Unity, Gnome, KDE, Xfce, Cinnamon and LXDE.

Supported languages : Afrikaans, English, Spanish, Dutch, German, French, Italian, Portuguese, Russian, Serbian, Arabic and Japanese.

For information about the Grive Tools project here :

UPDATE: July 2015

This project has been replaced by overGrive a complete Google Drive desktop client solution for Linux. See :

share|improve this answer
+1 for the outdated info – Pierre de LESPINAY Sep 27 '13 at 8:57
Worked for me, just now. Can't be that out of date. – Grizly Oct 22 '14 at 6:32
GRIVE project is currently suspended after API updates from goole have caused it to stop working. See link below:… – Steve Ellis May 21 '15 at 8:59

Insync repository is available for Ubuntu now.

Here is the steps to install Insync:

  1. Add the source to /etc/apt/sources.list file (Sample line: deb[DISTRIBUTION] [CODENAME] non-free)

    To add the line directly to sources.list file do the following:

    echo "deb $(lsb_release -cs) non-free" | sudo tee /etc/apt/sources.list.d/insync.list

  2. Import the key

    wget -O - \ | sudo apt-key add -

    sudo apt-get update

  3. Install Insync

    sudo apt-get install insync-beta-ubuntu


share|improve this answer

Grive with a GUI = SyncDrive

UPDATE: According to the latest news from the source of this piece of information cited below, "SyncDrive support site is closed and it can't pull files, so it won't work." Therefore, another alternative such as "Grive Tools" mentioned in another answer can be recommended instead.

SyncDrive is front-end cleaned GUI which uses Grive as base. There is no official Google-Drive app for Linux at this moment. SyncDrive is designed by David who is the creator of Ubuntu-based MacOSX-look-alike Pear OS.

SyncDrive can be setup easily and synchronize your files stored on your Google Drive in your ~/SyncDrive folder. It can automatically sync files and also shows storage used/remaining. SyncDrive also has an indicator for easy access.

SyncDrive Screenshot

To install SyncDrive in Ubuntu; open Terminal (Press Ctrl+Alt+T) and enter the following commands:

sudo add-apt-repository ppa:noobslab/pear-apps
sudo apt-get update
sudo apt-get install syncdrive


Note: Files in Google Docs format do not seem to be stored locally.

share|improve this answer
Note: this is not an automatic synchronization app, and you have to manually chose "Synchronize now" from the drop-down of the app-indicator. But this's a really useful app for Google Drive synchronizing. – evergreen Feb 17 '14 at 4:04
You can mention, that SyncDrive is not opensourced. At least there is no source code for SyncDrive anywhere. – kv1dr Mar 19 '14 at 10:12

The official Google Drive app for linux is not yet released. But there are third party options. InSync is a really good option.

Download the Insync.tar.gz from
Extract to your Home folder
Open a new terminal and navigate into the extracted Insync folder using the ‘cd’ command (e.g. cd insync/)
Run: sudo ./insync-installer
Follow any on-screen prompts

After installing there are a few other things to note:

Insync must be started from the Terminal by running ‘insync’
The app doesn’t auto-start by default, and there is no in-app way to enable this

Source : OMG!UBUNTU!

share|improve this answer

You can use drive

drive is an unofficial Google Drive client originally developed by Burcu Dogan while working on the Google Drive team. It has more features than Grive2 and fewer bugs.

drive does intentionally not support background two-way syncing, but the drive pull and drive push commands work recursively by default, equivalent to "one-way syncing on demand".

Installation for Ubuntu, according to the documentation:

sudo add-apt-repository ppa:twodopeshaggy/drive
sudo apt-get update
sudo apt-get install drive
share|improve this answer

There is another program, google-drive-ocamlfuse. This is a real Google Drive client (with a directory mounted via fuse, just like the Windows client), also this has automatic syncing and downloads the googgle documents in odf formats.

It seems that a ppa is available too. Here is a how to:

The source is here (the install process might not be smooth as there are dependencies and their dependencies, all having to be installed as ocaml packages, and some dont generate config files):

share|improve this answer

Updated on September-20-2015

Ubuntu 12.04 is NOT officially supported because of dependency issues but THIS PROJECT IS NO LONGER SUPPORTED DUE TO GOOGLE DRIVE API CHANGES .So here is installation of "over grive" a new Google Drive client.

Step 1: Download the latest version of overGrive DEB here.

Step 2: Launch OneGrive from launcher

Step 3: A window will appear ,click on Connect account then a browser window will open for you to sign in to your Google account.

Step 4: At the end you will get a code ,copy that code and paste it in the Onedrive window at Account entry box and click validate

Step 5: After setting your preferences (like location etc...) click Start Sync

For Reference here

share|improve this answer

This won't answer your question completely, but I'll post this anyway in case it helps you or other people.

Also, this answer is only going to be useful if you want the client for the sake of accessing your Documents offline.

If you use Google Chrome, you can get the Google Drive extensions which works offline once you activate it on your account. (There is an "Offline Docs" tab in your Google Docs' left side bar.)

You can get the extension here:

I must say, it's rather limited. Documents is the only format that you can view and edit. You will be able to view your Spreadsheets, but not edit them. In my case, those limitations are okay since I mostly only use Documents.

More info:

share|improve this answer

I've started using Ocamlfuse.

share|improve this answer


There is also a very simple and lightweight indicator which can be used as a sort of GUI for grive:

enter image description here

share|improve this answer

For those looking for a command-line-only solution, the best I've found is rclone. It works with a variety of cloud-based storage solutions, and is fairly easy to script with. Examples below.

Incrementally backup "/path/to/local folder 1" to "/someremotefolder/folder 1" on Google Drive. Additional commands can be added to backup additional folders.

rclone sync "/path/to/local folder 1" "drive:/someremotefolder/folder 1" -v

Restore the remote copy, incrementally overwriting the local copy.

rclone sync "drive:/someremotefolder/folder 1" "/path/to/local folder 1"

You can also transfer files between different remote folders and cloud storage solutions using the appropriate syntax for those media. The online documentation and man page are pretty easy to follow. Don't forget to do the initial setup steps (per the documentation), after installing rclone.

share|improve this answer

You can use Zoho Docs that have official client for Linux: Zoho Docs official image zoho client link downloading zoho client zoho client login screen zoho client Ubuntu choose folder zoho official client tray ico zoho official client Ubuntu Linux - set the bandwidth Zoho official client for Ubuntu Linux - select folders for sync

Works as Google Drive for Windows - just sync your files and you can edit them in web-browser. You can read more at official help page about sync client.

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. - From Review – Andrea Lazzarotto May 4 at 22:56
Zoho seems to be a Collaboration and Enterprise Resource Management system. How is it related to Google Drive? – David Foerster May 7 at 7:26
@DavidFoerster I mean - it is like Google Drive. – Vitaly Zdanevich May 8 at 3:31
Ok, thanks for the clarification! In that case I recommend editing this answer to expand it with specific details about how to install and use the software. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.) Ping me if you want an up-vote on the result. – David Foerster May 8 at 7:25
@DavidFoerster thank you for pointing me out, I added screenshots - looks pretty informative yes? – Vitaly Zdanevich May 9 at 9:59

You can use gdrive, an open source cross-platform command line tool for Google Drive.

Note that this is not the same as drive, which is mentioned in another answer. It's quite similar though: also written in Go, and a comparable feature set, but different command line parameters.

To install and use:

  1. Download the binary. Choose the one that fits your architecture, for example gdrive-linux-x64.

  2. Copy it to your path.

    sudo cp gdrive-linux-x64 /usr/local/bin/gdrive;
    sudo chmod a+x /usr/local/bin/gdrive;
  3. To use it for downloading a file:

    gdrive download 0B7_OwkDsUIgFWXA1B2FPQfV5S8H

    Of course, use your own file ID instead of the 0B7_Ow[…] argument. You find it in the URL when opening your files in the Google Drive web interface, or right-clicking them and clicking "Get sharable link …". In the latter case, remember to turn off link-sharing again if you don't want others to access the file when they get the link.

At first use, the tool will need to obtain access permissions to the Google Drive API. For that, it will show you a link which you have to visit in a browser, and then you will get a verification code to copy&paste back to the tool. The download then starts automatically. There is no progress indicator, but you can observe the progress in a file manager or second terminal.

share|improve this answer

You can use nice russian service Yandex Disk that have WebDav and free 10 gb and official command-line sync client. Also inside you can create and edit documents from Microsoft Office Online.

yandex disk web, google drive analog

share|improve this answer

protected by jokerdino May 11 '13 at 18:10

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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