Here are some libre and free solutions to use Google Drive on Ubuntu Linux, post Grive/Grive2/Insync.

Ubuntu Gnome

If you are using the official Ubuntu Gnome distro, getting Google Drive is pretty easy. See this tutorial at part No. 13 from It's FOSS:

Other Ubuntu Flavors

If you are using a flavor such as Ubuntu MATE, you'll have to install the two packages Gnome uses as well as a special desktop switch for the menu to display. Install and then run:

sudo apt install gnome-control-center gnome-online-accounts XDG_CURRENT_DESKTOP=GNOME gnome-control-center

Its quite easy from there to enter in your personal Google information.

Google Team Drive

If you are using a subscription-paid (i.e., paid Google account) special team you'll wont see anything beyond personal files. Gnome Online Accounts does not support the teams shares, though doing so has been on the Gnome to-do list for years. Your personal files will sync but nothing else.

Install Ocamlfuse

You'll need to follow the directions here at the main Ocamlfuse wiki:

Be sure to check the link above but run: sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt-get update
sudo apt-get install google-drive-ocamlfuse

This will then run the authorization/permission check your local machine requires using Ocamlfuse to access Google Drive.

Connect the Team Drives/Folders

One area that we found confusing was how to mount the shared team folders properly the first time as Google/Ocamlfuse because of the "label" and "/mountPoint" nomenclature in the Github wiki.

In a sentence, one must label each shared team folder first before running the connection to the folders contents as a mounting point. We choose to label the shared folder and our mountpoing identically to avoid further confusion.

After installing Ocamlfuse enter the directory of your mounted Google Drive location:

cd /home/YOURUSERNAME/GoogleDrive/

Create a new label: google-drive-ocamlfuse -label YOURTEAMFOLDERNAME

Over in Google Drive using a browser, obtain your root shared team folder id from the url, example:

Open up your ~/.gdfuse/YOURTEAMFOLDERNAME/configfile and search for the team_drive_id line and add your team folder id, example: 0XS2-_aJgHL29KfOVHAS22

Now you are ready to mount the team folder within your Google Drive account:

google-drive-ocamlfuse -label myTeamDrive /mountPoint

This was the unclear section in the Ocamlfuse wiki. For our example, you'd enter this:

google-drive-ocamlfuse -label YOURFOLDERNAME YOURFOLDERNAME

Your team content will then appear in your GoogleDrive folder along with your personal items.

If you would like us to help you, your business and/or staff work more effectively using libre, free and open source software, we are here to help! Just contact us for a free quote or if you need immediate assistance on this specific topic, leave a comment below; we are HAPPY to help!


About the Writer
Chris Lessley
Author: Chris Lessley
A server admin, dev ops warrior and website designer since 2002, Chris is a lover of all things Linux and open-source! Each blog topic has been tested by fire in the real world and shared with the hope to help others. Need more help? Hire me! Chris' other interests include fine art and the humanities in the classical tradition and can be found writing for our friends over at If you like this content, kindly consider donating to keep this website free to all, without ads.

Comments powered by CComment

Member of The Internet Defense LeagueOpen Source Initiative