TechSansar.com
  • Services
  • Top Posts
  • Nepali IT
  • Startups
  • Tech News
  • Categories
    • News
      • Wellness
      • Lifestyle
      • Culture
      • Tech
      • Sport
No Result
View All Result
TechSansar.com
  • Services
  • Top Posts
  • Nepali IT
  • Startups
  • Tech News
  • Categories
    • News
      • Wellness
      • Lifestyle
      • Culture
      • Tech
      • Sport
No Result
View All Result
TechSansar.com

How to install Google Drive Grive2 on Ubuntu

10 years ago
in How To
Reading Time: 7 mins read
A A
0

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).

To install Grive2 in Ubuntu, Linux Mint and derivatives by using the main WebUpd8 PPA, use the following commands:
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

1. Grive2 will download / upload new or changed files from the directory you run it. So firstly, let’s create a new folder – we’ll call it “grive” -, in your home directory:
mkdir -p ~/grive

2. Next, navigate using the terminal into the newly created “grive” folder:

Related Post

6 things you can do to speed up your Windows 11 computer

Speed up your Windows 11 computer by reducing startup time, here is how to

[How to] Get Facebook's instant articles for your website or blog

How to force Download Windows 10 updates?

cd ~/grive
3. The first time you run Grive2, you must use the “-a” argument to grant it permission to access your Google Drive:
grive -a
After running the command above, an URL should be displayed in the terminal – copy this URL and paste it in a web browser. In the newly loaded page, you’ll be asked to give Grive permission to access your Google Drive and after clicking “Allow access”, an authentication code will be displayed – copy this code and paste it in the terminal where you ran Grive2.
That’s it. Now each time you want to sync Google Drive with your local “grive” folder, navigate to the “grive” folder (step 2) and run “grive” (this time without “-a” since you’ve already authenticated Grive with Google Drive).
Grive2 comes with some advanced features as well. For instance, compared to the original Grive, the new Grive2 fork supports partial sync. To only synchronize one subfolder (a folder from your~/grive directory) with Google Drive, use:
grive -s SUBFOLDER

(replacing “SUBFOLDER” with the name of the subfolder you want to sync)
To see all the available options, type:

grive --help
Tags: GoogleGoogle DriveLinuxUbuntu
Share212Tweet133Send

Related Posts

CPU utilization in Windows 11
Computing

6 things you can do to speed up your Windows 11 computer

Got a that resourceful computer with a decent amount of memory, SSD storage and latest generation of that Intel chipsets;...

by tsGeek
July 24, 2024
Speedup your Windows 11 Computer
How To

Speed up your Windows 11 computer by reducing startup time, here is how to

Startup times vary and depend on how many apps you have installed, the speed of your processor, and the kind...

by tsGeek
July 24, 2024

Recent News

Screenshot from a desktop computer showing existing services offered by Nagarik App; image by TechSansar.com

Nagarik App Integrates National Identity Card: A Leap Towards Comprehensive E-Governance

January 24, 2025
All .np domain owners are required to reverify their domain names.

The Great Reverification: What Nepal’s .np Domain Owners Need to Know

January 5, 2025
Microsoft Forms Sync Update

Microsoft Forms Sync Update: Adapting to Microsoft’s New Approach for Excel Integration

January 3, 2025
Top iOS 18 features

Top 10 iOS 18 features that you can’t ignore #iOS18

September 10, 2024
Free PDFTools
Free PDFTools

Nice one!

Categories

  • Applications
  • Computing
  • Culture
  • Entertainment
  • Environment
  • Event
  • Featured
  • How To
  • Internetworking
  • Lifestyle
  • Nepali IT
  • News
  • Social Networking
  • Software
  • Sport
  • Tech
  • Tech News
  • Telecom
  • Travel
  • Uncategorized
  • Wellness
  • News
  • Lifestyle
  • Entertainment
  • Tech
  • Sport
  • Culture
  • Wellness
  • Event
  • Travel
  • Environment

TechSansar.com, ICT For Media Pvt Ltd, Regd #249079/077/078, VAT #609868175.
By continuing to use this site, you agree to our cookies and privacy policies.
Here is our Do Not Track (DNT) Guide. Hosted on a VPS in Singapore and uses this beautiful WordPress theme. You can also subscribe to our newsletter.
Creating tech contents for the b̶o̶t̶s̶ humans since 2009 • Team TechSansar • ICT4M with ❤ from Nepal

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Home
  • Shop peripherals
  • Buy softwares
  • Top websites
  • Contact us

TechSansar.com, ICT For Media Pvt Ltd, Regd #249079/077/078, VAT #609868175.
By continuing to use this site, you agree to our cookies and privacy policies.
Here is our Do Not Track (DNT) Guide. Hosted on a VPS in Singapore and uses this beautiful WordPress theme. You can also subscribe to our newsletter.
Creating tech contents for the b̶o̶t̶s̶ humans since 2009 • Team TechSansar • ICT4M with ❤ from Nepal