How To Install Google Drive In Ubuntu 16.04
Google Bulldoze Ocamlfuse provides an easy and costless manner to access your Google Drive on Linux. Information technology'southward a FUSE file arrangement for Google Drive, written in the OCaml programming language. This tutorial is going to show yous how to install Google Bulldoze Ocamlfuse on Debian, Ubuntu, Linux Mint then mount your Google Drive. It'due south doesn't cost y'all a dime and it's very piece of cake to do.
Google Drive Ocamlfuse's features include:
- Read and write admission to ordinary files and folders
- Read-just access to Google Docs, Sheets, and Slides
- Multiple account support
- Indistinguishable file treatment
- Access to trash (.Trash directory)
Install Google Drive OCamlfuse on Ubuntu, Linux Mint
You can hands install Google drive Ocamlfuse on Ubuntu and Linux Mint from the official PPA. Fire up a final window (CTRL+ALT+T
), and so run the following commands to add the PPA, update the local package alphabetize and install the application.
sudo add-apt-repository ppa:alessandro-strada/ppa sudo apt update && sudo apt install google-drive-ocamlfuse
Once it'south installed, run the following command to authorize.
google-drive-ocamlfuse
It volition open a new tab in your browser asking you to grant it permission to view and manage the files in your Google Drive. Click Allow
.
Adjacent, select your Google account and click Allow
push button.
And then in the final window, it volition tell you the access token is retrieved correctly. Authorization is now complete.
Mountain Your Google Bulldoze
First, create a mount betoken for your Google Drive, such as ~/google-drive
.
mkdir ~/google-drive
Then mountain your Google drive using the post-obit command:
google-drive-ocamlfuse ~/google-drive/
Now open your file director, you will run across a new tab on the left pane and your files in Google Drive volition populate ~/google-bulldoze/
folder.
To unmount Google drive, issue this control:
fusermount -u ~/google-drive
How to Compile Google Drive Ocamlfuse from Source on Debian
At that place's no official deb packet for Debian. But nosotros can easily compile information technology from source. First, install OPAM
package manager.
sudo apt install opam
Then install build dependencies.
sudo apt install m4 libcurl4-gnutls-dev libfuse-dev libsqlite3-dev zlib1g-dev libncurses5-dev pkg-config
Initialize OPAM state.
opam init
Update the list of available packages.
opam update
Compile and install Google Drive Ocamlfuse.
opam install google-drive-ocamlfuse
How to Apply Google Drive Ocamlfuse to Back up Files on Ubuntu/Debian Server
Showtime, ssh into your server and follow the above instructions to install Google Drive Ocamlfuse on the server. Note that on Ubuntu server, yous need to install the software-properties-common
package in gild to add PPA.
sudo apt install software-properties-common
The authorization procedure is a little bit different because usually y'all don't install GUI on Linux server.
Go to Google API console, Sign in with your Google account. Create a new project.
Then click Credentials
on the left pane. Click Create Credentials
so select OAuth customer ID
.
Select other equally the application type and give it a proper name.
You will go your client ID and customer cloak-and-dagger.
Next, Click Library
on the left pane, then click Drive API
under Google Apps API
.
Click Enable on the next page.
At present, dorsum to your Linux server terminal, issue the following command. Supplant the red text with your real client ID and client secret.
google-drive-ocamlfuse -headless -id your-customer-id -secrect your-client-hugger-mugger
You will be asked to open a URL in your browser. In the browser you will be asked to allow Google Drive Ocamlfuse to view and manage the files in your Google Drive.
Click Allow
, then copy the verification code and paste it to the terminal. You will see the following bulletin.
Access token retrieved correctly.
Now brand a directory as the mount point.
mkdir ~/google-drive-fill-in
And mount your Google bulldoze on your server.
google-bulldoze-ocamlfuse ~/google-drive-backup/
Cd into the directory and you volition encounter your Google Drive files.
That's information technology! I hope this article helped you mountain Google Drive on your Debian, Ubuntu, or Linux Mint box. As always, if you plant this post useful, then subscribe to our free newsletter or follow us on Twitter or like our Facebook page. Cheers for visiting!
Source: https://www.linuxbabe.com/cloud-storage/install-google-drive-ocamlfuse-ubuntu-linux-mint
Posted by: guestthisidiever87.blogspot.com
0 Response to "How To Install Google Drive In Ubuntu 16.04"
Post a Comment