Mount a Google drive under Linux

Mount a Google drive under Linux

Useful tool if you want to mount your Google Drive on your favorite Linux distro. I have tested it on an Ubuntu workstation (latest stable release). Be sure Google Chrome or firefox are installed.
The installation steps are quite simple:

  • if you don’t have add-apt-repository on your workstation, install it:
    sudo apt-get install software-properties-common
  • If a proxy is configured to access the internet, a few steps are required to make add-apt-repository works properly:
    define the http_proxy and https_proxy variable (change the ip address/port according to the proxy configuration):
    set http_proxy="http://user:password@"
    set https_proxy="http://user:password@"
  • ready to add the custom repository:
    if no proxy is used, use this command
    sudo add-apt-repository ppa:alessandro-strada/ppa
    if the variable http_proxy/https_proxy are set, use this command
    sudo -E add-apt-repository ppa:alessandro-strada/ppa
  • update apt repository
    sudo apt-get update
  • install google-drive-ocamlfuse
    sudo apt-get install google-drive-ocamlfuse

When the installation is finished, the setup is also simple:
launch google-drive-ocamlfuse from cli
$ google-drive-ocamlfuse

Depending your configuration, Chrome or Firefox browser will be launched. After that, follow the steps to authorize google-drive-ocamlfuse

Configuration is now ok. The last step: mount your google drive
$ mkdir GoogleDriveFolder
$ google-drive-ocamlfuse GoogleDriveFolder/

That’s all !


My Powershell script categories



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Social Media Auto Publish Powered By :