Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
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 14.04, 16.04, 17.04, and 17.10 (i386, amd64, armhf, and arm64). 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
PPA repository (beta versions)
sudo add-apt-repository ppa:alessandro-strada/google-drive-ocamlfuse-beta sudo apt-get update sudo apt-get install google-drive-ocamlfuse
yaourt -S google-drive-ocamlfuse
Run following commands
apt install software-properties-common dirmngr
Edit the file
a. replace bionic at the end of both lines with xenial, otherwise you will get stuck with version 0.6.21,
where team drive does not work properly
b. uncomment the second line
So it looks like this:
deb http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial main
Then you need to add the key otherwise the command apt update will not take the new sourcelist into account
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AD5F235DF639B041
apt install google-drive-ocamlfuse
You are done
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 external dependencies:
opam install depext opam depext 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 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 ocaml-camlp4-devel ncurses-devel opam init opam update opam install depext opam depext google-drive-ocamlfuse opam install google-drive-ocamlfuse
Installing with OPAM on macOs
If you have problem installing on macOS, with an error like this:
[ERROR] The compilation of conf-gmp-powm-sec failed at "sh -exc cc -c $CFLAGS -I/usr/local/include test.c".
You should install gmp this way (before retrying installing google-drive-ocamlfuse):
env CFLAGS="-I/opt/local/include/" opam install conf-gmp-powm-sec.1
See issue #357.