![]() ![]()
That’s it! I hope this article helped you mount Google Drive on your Debian, Ubuntu, or Linux Mint box. google-drive-ocamlfuse ~/google-drive-backup/Ĭd into the directory and you will see your Google Drive files. ![]() mkdir ~/google-drive-backupĪnd mount your Google drive on your server. #Google drive download linux verification#In the browser you will be asked to allow Google Drive Ocamlfuse to view and manage the files in your Google Drive.Ĭlick Allow, then copy the verification code and paste it to the terminal. You will be asked to open a URL in your browser. google-drive-ocamlfuse -headless -id your-client-id -secrect your-client-secret Replace the red text with your real client ID and client secret. Now, back to your Linux server terminal, issue the following command. Next, Click Library on the left pane, then click Drive API under Google Apps API. You will get your client ID and client secret. Select other as the application type and give it a name. Click Create Credentials and then select OAuth client ID. Go to Google API console, Sign in with your Google account. #Google drive download linux install#The authorization procedure is a little bit different because usually you don’t install GUI on Linux server. sudo apt install software-properties-common Note that on Ubuntu server, you need to install the software-properties-common package in order to add PPA. #Google drive download linux how to#opam install google-drive-ocamlfuse How to Use Google Drive Ocamlfuse to Back up Files on Ubuntu/Debian Serverįirst, ssh into your server and follow the above instructions to install Google Drive Ocamlfuse on the server. opam updateĬompile and install Google Drive Ocamlfuse. sudo apt install m4 libcurl4-gnutls-dev libfuse-dev libsqlite3-dev zlib1g-dev libncurses5-dev pkg-config But we can easily compile it from source. There’s no official deb package for Debian. To unmount Google drive, issue this command: fusermount -u ~/google-drive How to Compile Google Drive Ocamlfuse from Source on Debian Now open your file manager, you will see a new tab on the left pane and your files in Google Drive will populate ~/google-drive/ folder. Then mount your Google drive using the following command: google-drive-ocamlfuse ~/google-drive/ Mount Your Google Driveįirst, create a mount point for your Google Drive, such as ~/google-drive. ![]() Then in the terminal window, it will tell you the access token is retrieved correctly. Next, select your Google account and click Allow button. It will open a new tab in your browser asking you to grant it permission to view and manage the files in your Google Drive. Once it’s installed, run the following command to authorize. #Google drive download linux update#Sudo apt update & sudo apt install google-drive-ocamlfuse sudo add-apt-repository ppa:alessandro-strada/ppa Fire up a terminal window ( CTRL+ALT+T), then run the following commands to add the PPA, update the local package index and install the application. You can easily install Google drive Ocamlfuse on Ubuntu and Linux Mint from the official PPA. ![]() Install Google Drive OCamlfuse on Ubuntu, Linux Mint
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |