ObjectiveThe objective is to seamlessly provide access to Google Drive on Ubuntu 18.04. Firstly, we will access Google Drive via Gnome build-in feature Online Accounts.
Later, as an alternative, this tutorial will explain how to install google drive tool: google-drive-ocamlfuse via PPA and mount Google Drive remotely directly to user's home directory.
Operating System and Software Versions
- Operating System: - Ubuntu 18.04 Bionic Beaver
RequirementsPrivileged access to your Ubuntu System as root or via
sudocommand is required.
- # - requires given linux commands to be executed with root privileges either directly as a root user or by use of
- $ - requires given linux commands to be executed as a regular non-privileged user
Google Drive via Gnome Online AccountsGnome GUI allows for a native Google Drive mount via its feature
Online Accountslocated within system's settings.
If you are not using Gnome graphical user interface you can install Gnome Online Accounts by opening up a terminal and entering the below command:
$ sudo apt install gnome-online-accountsOnce installed start Gnome Online Accounts by executing the command:
$ gnome-control-center online-accountsOn Gnome Desktop simply search Start Menu:
BLUE SKY STUDIOS are looking for Linux Administrator to maintain and support the Studio's 450+ production Linux workstations, including daily interactions with the Studio’s digital animation artists.
LOCATION: Greenwich, Connecticut, USA
It is important to note that using Gnome Online Accounts feature your Google Drive files are not stored locally. Any access, to your Google Drive files is done directly via Google Drive Cloud.
Google Drive via google-drive-ocamlfuse PPAAnother alternative to a native
GNOME Online Accountsfeature is
google-drive-ocamlfuseis somewhat a free version of the paid OverGrive Google Drive GUI front-end.
In case from any reason the above access to your Google Drive fails using
GNOME Online Accountsyou can install
google-drive-ocamlfuseby executing the below commands:
$ sudo add-apt-repository ppa:alessandro-strada/ppa $ sudo apt install google-drive-ocamlfuseNext, create a directory which you want to use to access your Google Drive files. For example, create
google-drivedirectory within your user local directory:
$ mkdir ~/google-driveAt this stage, point
google-drive-ocamlfuseto this newly created directory:
$ google-drive-ocamlfuse ~/google-driveThe above will open up your default browser asking you to provide your Google Account credentials: