How to Install and Mount Google Drive on CentOS/RHEL 7, Ubuntu 19.10 and Debian 9 - Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Monday, October 21, 2019

How to Install and Mount Google Drive on CentOS/RHEL 7, Ubuntu 19.10 and Debian 9

 




Installation of google-drive-ocamlfuse on Ubuntu

Adding a PPA repository.
Step1 :-   sudo add-apt-repository ppa:alessandro-strada/ppa
Step2 :-   sudo apt-get update
Step3 :-   sudo apt-get install google-drive-ocamlfuse
Step4 :-   yaourt -S google-drive-ocamlfuse

Install OPAM package for your distribution
Step5 :-   git clone https://github.com/OCamlPro/opam.git
Step6 :-   cd opam
Step7 :-  ./configure
Step8 :-   make
Step9 :-   sudo make install

Install ocaml packages manager
Step10 :- sudo apt-get install ocaml camlp4-extra


Install Dependencies packages
Step11 :- sudo apt-get install m4 libcurl4-gnutls-dev libfuse-dev libsqlite3-dev

Needed dependencies are installed, start and update the OPAM.
Step12 :- opam init
Step13 :- opam update

Install google-drive-ocamlfuse.
Step14 :- opam install google-drive-ocamlfuse

Usage of  Google-drive-ocamlfuse
Step15 :- google-drive-ocamlfuse

create a mount point say google-drive in your home directory
Step16 :- mkdir ~/google-drive
Step17 :- google-drive-ocamlfuse ~/google-drive

If you have more than one account, you can run use following command.
Step18 :- google-drive-ocamlfuse -label label [mountpoint]

To unmount the Google Drive, you have to run:
Step19 :- fusermount -u ~/google-drive