Clone this wiki locally
Here you can find instructions on how to install
google-drive-ocamlfuse. You can choose one of the following methods.
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
$ 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
Install the C tools and libraries:
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
$ opam init
$ opam update
$ 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 http://download.opensuse.org/repositories/home:ocaml/CentOS_7/home:ocaml.repo -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