Updated 9/15/2015
If you are here from our How to install Google Drive on Ubuntu then you must be having problem installing Google Drive Client Grive on Ubuntu. As of Google changing it’s API recently and Grive (client of Google Drive) not being maintained any more is causing problem while installing Grive on Ubuntu. To get Grive up and running again, Vitaliy Filippov forked it and named his fork “Grive2”. The fork supports the new Google Drive REST API and it also includes a new feature: partial (directory) sync, along with bug fixes.
Problems you might be having while installing Grive previously are something like:
The following packages have unmet dependencies:
grive-tools : Depends: grive (>= 0.3) but 0.2.0-1.1 is to be installed
Then here again, we have posted How to install Google Drive Grive2 on Ubuntu
Install Google Drive – Grive2 in Ubuntu or Linux Mint via PPA
Since there are quite a tools that rely on Grive, the Grive2 binary and package continue to be called “grive”, so installing Grive2 from the main WebUpd8 PPA will overwrite any old Grive versions it may find on the system (just as if it was a newer Grive1 version).
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install grive
If you don’t want to add the PPA, you can download the deb from HERE (for Ubuntu 12.04, you’ll also need yajl2 – get it from HERE) but installing the debs manually means you won’t receive automatic updates.
Using Grive2
mkdir -p ~/grive
2. Next, navigate using the terminal into the newly created “grive” folder:
cd ~/grive
grive -a
grive -s SUBFOLDER
(replacing “SUBFOLDER” with the name of the subfolder you want to sync)
To see all the available options, type:
grive --help