Google Drive is nice cloud storage which provide document editing features. However, it does not yet provide a Linux client. I find a good third party tool that works with Google Drive on Linux very well: google-drive-ocamlfuse.
The website of google-drive-ocamlfuse provides easy to follow instructions to install it. In this tutorial, we show a more convenient method using opam.
If you have not installed opam, you need to install opam first.
Install google-drive-ocamlfuse via opam
You may need to install some packages on your system. On Fedora, you may need to at least install:
# yum install sqlite-devel fuse-devel libcurl-devel zlib-devel m4
opam will automatically resolve dependencies and install the needed packages:
$ opam install google-drive-ocamlfuse
You need to run google-drive-ocamlfuse without parameters and it will request authorization:
This command will create the default application directory (
~/.gdfuse/default), containing the configuration file config and start a web browser to obtain authorization to access your Google Drive.
Mounting Google Drive
After configured google-drive-ocamlfuse, you can mount the file system:
$ google-drive-ocamlfuse mountpoint
You need to be patient and it may take some time to load your files.