How to Mount your Google Drive in Ubuntu

Learn the guide to easily mount the Google drive in your Ubuntu easily using the tool that will allow you to easy access to all the files in your Ubuntu PC by following the simple guide discussed right below.

Google Drive is one of the most popular cloud storage service offering you lots of free storage availability in today’s world. When it comes back in 2012, its desktop clients for both Windows and MAC OS were also released. Considering the tool’s official website, Google Drive Ocamlfuse is a Fuse based file system that is backed by Google Drive. It is written in Ocaml Language that allows users to mount their Google Drive in Linux and use it as a normal directory. That is you can even access this drive even on any of the Linux distribution and here we are talking about Ubuntu. So have a look on complete guide discussed below to proceed.

The method is quite simple and easily done with the cool tool that we are gonna discuss right here. So have a look on complete guide discussed below to proceed.

Features of Ocamlfuse Tool:

  • Full read/write access to ordinary files and folders
  • Read-only access to Google Docs, Sheets, and Slides (exported to configurable formats)
  • Multiple account support
  • Duplicate file handling
  • Access to trash (“.Trash” directory)
Step 1:Download and install the Google-Drive-Ocanlfuse tool by carrying out the following commands in your Ubuntu system:
sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt-get update
sudo apt-get install google-drive-ocamlfuse
Step 2: When the commands are done, what to do is to authorize the tool to access your Google Drive by running out the following command:
Step 3: In your default web browser, a tab will be open where the tool requests your permission to access your Google Drive content.

How to Mount your Google Drive in Ubuntu

Step 4: Now click on “Allow” button and a message will be shown to you by Google Accounts which will let you know what the application is doing and what information is shared with it.

How to Mount your Google Drive in Ubuntu

Step 5: Again, click on “Allow” button and the required access will be allowed to the tool which helps in completing the setup for it.  Now, next step is to create a local directory on your Ubuntu system where all the contents of Google Drive will be mapped. Consider a directory called “gdrive_local“.
mkdir ~/gdrive_local
Step 6: When everything is done, run the following command to mount the file-sytem locally:
google-drive-ocamlfuse ~/gdrive_local
Step 7: It will take time to upload but finally you will see all your Google Drive contents in your directory named “gdrive_local“. By this, we can make changes and those were returned in the cloud and vice-a-versa.

How to Mount your Google Drive in Ubuntu

Step 8: For configuration, tool’s configuration is usually located at the address “~/.gdfuse/default/config.

How to Mount your Google Drive in Ubuntu

So above is all about How to Mount Your Google Drive in Ubuntu. Use this simple guide and you can easily access the google drive services right on your Ubuntu desktop. And hope you like the tutorial, keep on sharing with others too. Leave a comment below if you have any related queries with this.

For any question or complain drop your message at Post Comment box and we will reply within short period of time.

Don't forget to share this post with your friends and families by clicking share button or our social media icons (facebook, twitter, instagram, whatsapp etc)

Anifowose Abiola

Howdy, I’m Anifowose the owner of I’m a web developer living in Lagos, Nigeria. I am a fan of technology, web development, and design. You can visit my website with a click on the button above.

Post A Comment: