Thursday, July 7, 2016

Google Drive in Slackware 14.x

This tutorial was tested in Slackware 14.2.

1 - get the OCAML. I used SBOPKG to install.

2 - get the Opam Installer in:
$ wget https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh

3- execute:
# sh ./opam_installer.sh /usr/local/bin

if you are asked about changes in the profile or bash, answer y (yes).

After this, execute:

# /usr/local/bin/opam init --comp 4.02.1

The number (4.02.1) might change. Read the instructions on the screen.

4 - execute and insert in the file:
# pico ~/.bashrc

eval `opam config env`

5 - open a new prompt.

6 - execute:
# opam install google-drive-ocamlfuse

7 - execute:
# google-drive-ocamlfuse

You will be prompted to enter in your Google account. This will allow the software to access your Google Drive files.

8 - Make a directory to access your file. In this moment will be mounted your Google Drive directory in this directory. Execute:

# mkdir ~/GoogleDrive
# google-drive-ocamlfuse ~/GoogleDrive


Font: Vladimir Bakalov, OPAM

3 comments:

  1. Hey, this worked well setting up Google Drive on Slack 14.2 Thanks for the help.

    BTW, did you mean to change the command prompt beginning with step 4? (Changes to root, #). I did the entire install as non root, using sudo only once when the install script asked me to password the sudo command.

    Thanks again

    ReplyDelete
  2. ocamlfuse has been installed correctlly, but when i try to run google-drive-ocamlfuse, got this message:

    bash: google-drive-ocamlfuse: command not found

    Any ideas?

    ReplyDelete
    Replies
    1. Ocorreu algum erro no item 6 (opam install google-drive-ocamlfuse)? É ele quem instala o google-drive-ocamlfuse.

      Delete