Ihor Dvoretskyi edited this page Jun 19, 2016 · 34 revisions

Here you can find instructions on how to install google-drive-ocamlfuse. You can choose one of the following methods.

PPA repository

I've set up a PPA repository where I've uploaded .deb packages for Ubuntu 12.04, 14.04, 14.10, 15.04, 15.10 and 16.04 (i386 and amd64). To install the software using this method, run the following commands:

    $ sudo add-apt-repository ppa:alessandro-strada/ppa
    $ sudo apt-get update
    $ sudo apt-get install google-drive-ocamlfuse


google-drive-ocamlfuse is available in the AUR (thanks to mlq for uploading the package). To install it, run:

    $ yaourt -S google-drive-ocamlfuse

Installing from source

If you are using a different distribution or you want to build the package from source, you may want to use OPAM (an OCaml package manager). If you are on a Debian Jessie, check out these instructions (contributed by Martin Gallant): How to install from source on Debian Jessie.

Installing with OPAM

  1. Install OPAM (
  2. Install the C tools and libraries: m4, curl, fuse, and sqlite3. These dependencies are not managed by OPAM, so you have to install them in order to compile the executable. If you are using a .deb based distribution, you can install the libraries with this command:

    $ sudo apt-get install m4 libcurl4-gnutls-dev libfuse-dev libsqlite3-dev zlib1g-dev libncurses5-dev
  3. Starting OPAM

    $ opam init
  4. Update OPAM

    $ opam update
  5. Install google-drive-ocamlfuse

    $ opam install google-drive-ocamlfuse

Installing with OPAM on AWS Linux

Contributed by ngr.

# Connect CentOS repository. It will work for Amazon-Linux.
sudo wget -P /etc/yum.repos.d/

# Install Ocaml and required dependencies.
sudo yum install opam ocaml gcc gcc-c++ m4 make ocamldoc sqlite-devel libcurl-devel fuse-devel zlib-devel ocaml-camlp4-devel ncurses-devel

opam init
opam install google-drive-ocamlfuse