2017年5月15日 星期一

[Archlinux][Google] Use google drive as linux disk

Install yaourt into Archlinux
[Yaourt][Archlinux] Install yaourt into Archlinux

Using yaourt to install google-drive-ocamlfuse
sudo yaourt --noconfirm google-drive-ocamlfuse

Execute google-drive-ocamlfuse to start connection to google disk. When success will show following message on the webpage.

google-drive-ocamlfuse

The application was successfully granted access. Please wait for the client to retrieve the authorization tokens.

When google-drive-ocamlfuse execute finish. google-drive-ocamlfuse will receive token from google website. The message like below.

[freeman@localhost ~]$ google-drive-ocamlfuse
Access token retrieved correctly.

mount google disk on /tmp/a
mkdir /tmp/a
google-drive-ocamlfuse /tmp/a


Error 1:
Cannot find file /usr/lib/ocaml/camlidl/com.cmxa
[happy@localhost lib]$ sudo cp /usr/lib/ocaml/com.cmxa /usr/lib/ocaml/camlidl/
[happy@localhost lib]$ sudo cp /usr/lib/ocaml/com.a /usr/lib/ocaml/camlidl/


Reference:

0 意見:

張貼留言