• About us
  • Advertising
  • Send Press Release
  • ICT Indicators
Sunday, April 2, 2023
  • Login
TechSansar.com • Nepal Information and Technology Navigator Website from Nepal
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण
Shop
TechSansar.com • Nepal Information and Technology Navigator Website from Nepal
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण
TechSansar.com • Nepal Information and Technology Navigator Website from Nepal
No Result
View All Result

How to install Google Drive Grive2 on Ubuntu

8 years ago
in How To
Reading Time: 7 mins read
0 0
A A
20
Share on FacebookShare on TwitterShare on LinkedInQR Code

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:

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:

Other similar Posts

Spring Cleaning: 10 tips to get a fresh start on online safety from Google

Website blacklisted or "not safe to visit" by Google? Here is how to fix & stop badwares. (Experience Sharing)

grive --help
ShareTweetShareScan
Previous Post

The problem with Nepal's local Internet Service Providers (ISPs)

Next Post

TeliaSonera, parent company of Ncell, to exit Nepal

Also check out other Similar posts

CPU utilization in Windows 11
Computing

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

April 14, 2022
Speedup your Windows 11 Computer
How To

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

December 23, 2021
Reduce background noise during Microsoft Teams or Zoom meetings
How To

How to reduce background noise during Microsoft Teams or Zoom meetings

May 20, 2021
Speed up pc
How To

6 simple yet effect ways to speed up your Windows 10 computer

April 14, 2022
Permanently Remove LeadBoxer from Outlook
How To

Remove add-in services from Outlook, LeadBoxer as an example

January 29, 2021
Enable public Live Events aka Webinar in Microsoft Teams
How To

[How to] Enable public Live Events aka Webinar in Microsoft Teams #MSTeams #LiveEvents #Webinar

December 26, 2020
Next Post
TeliaSonera integrated Cellular carriers around the world

TeliaSonera, parent company of Ncell, to exit Nepal

Comments 20

  1. Pingback: Ubuntu:How to install Google Drive on Ubuntu 14.04? [duplicate] – Ubuntu Linux Questions
  2. Pingback: Ubuntu:How to install Google Drive on Ubuntu 14.04? [duplicate] – Ubuntu Linux Questions
  3. Roy says:
    7 years ago

    i have a problen in the last step , this is the message ,can you help me?
    Please input the authentication code here:
    4/HMcGzaMfvl2OQqsZ7ALIr6EegMBX6sPKZ-ge2uh4rHM
    Reading local directories
    Synchronizing folders
    Reading remote server file list
    exception: /build/grive2-rauZp1/grive2-0.4.1/libgrive/src/json/Val.cc(90): Throw in function const gr::Val& gr::Val::operator[](const string&) const
    Dynamic exception type: boost::exception_detail::clone_impl
    [gr::expt::BacktraceTag*] = #0 0x477d00 grive gr::Exception::Exception()
    #1 0x467901 grive gr::Val::Error::Error()
    #2 0x46c79e grive gr::Val::operator[](std::string const&) const
    #3 0x484d08 grive gr::v2::Entry2::Update(gr::Val const&)
    #4 0x485a9c grive gr::v2::Entry2::Entry2(gr::Val const&)
    #5 0x485e45 grive gr::v2::Feed2::GetNext(gr::http::Agent*)
    #6 0x4445b8 grive gr::Drive::DetectChanges()
    #7 0x432ae6 grive Main(int, char**)
    #8 0x430cab grive main
    #9 0x7fbdbeb9dec5 /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
    #10 0x43181f grive
    [gr::NoKey*] = downloadUrl

    • [email protected] says:
      7 years ago

      I’ve received similar error. Try getting a new authentication code. The authentication code extends beyond the text box so make sure you copy the code in its entirety. When I did that it worked fine for me.

  4. Roy says:
    7 years ago

    i have a problen in the last step , this is the message ,can you help me?
    Please input the authentication code here:
    4/HMcGzaMfvl2OQqsZ7ALIr6EegMBX6sPKZ-ge2uh4rHM
    Reading local directories
    Synchronizing folders
    Reading remote server file list
    exception: /build/grive2-rauZp1/grive2-0.4.1/libgrive/src/json/Val.cc(90): Throw in function const gr::Val& gr::Val::operator[](const string&) const
    Dynamic exception type: boost::exception_detail::clone_impl
    [gr::expt::BacktraceTag*] = #0 0x477d00 grive gr::Exception::Exception()
    #1 0x467901 grive gr::Val::Error::Error()
    #2 0x46c79e grive gr::Val::operator[](std::string const&) const
    #3 0x484d08 grive gr::v2::Entry2::Update(gr::Val const&)
    #4 0x485a9c grive gr::v2::Entry2::Entry2(gr::Val const&)
    #5 0x485e45 grive gr::v2::Feed2::GetNext(gr::http::Agent*)
    #6 0x4445b8 grive gr::Drive::DetectChanges()
    #7 0x432ae6 grive Main(int, char**)
    #8 0x430cab grive main
    #9 0x7fbdbeb9dec5 /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
    #10 0x43181f grive
    [gr::NoKey*] = downloadUrl

    • [email protected] says:
      7 years ago

      I’ve received similar error. Try getting a new authentication code. The authentication code extends beyond the text box so make sure you copy the code in its entirety. When I did that it worked fine for me.

  5. Tal says:
    7 years ago

    Just a comment that may save you some time
    If after running grive it stopped with the following message
    exception: boost::filesystem::directory_iterator::construct: Permission denied: “./.cache/dconf”
    (as it did in my case)
    you should grant the appropriate permission by
    sudo chmod 774 ~/.cache/dconf

  6. Tal says:
    7 years ago

    Just a comment that may save you some time
    If after running grive it stopped with the following message
    exception: boost::filesystem::directory_iterator::construct: Permission denied: “./.cache/dconf”
    (as it did in my case)
    you should grant the appropriate permission by
    sudo chmod 774 ~/.cache/dconf

  7. Sara says:
    7 years ago

    i received the following error
    exception: boost::filesystem::status: Too many levels of symbolic link
    “./.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/f::”

  8. Sara says:
    7 years ago

    i received the following error
    exception: boost::filesystem::status: Too many levels of symbolic link
    “./.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/c:/users/sara/My Documents/.wine/dosdevices/f::”

  9. ikbentomas says:
    7 years ago

    Thanks for the info!
    The thing I like about Grive is the ability to sync multiple google accounts.
    I can now easily sync my private and my work Drive folders which wasn’t possible on Windows with the original Drive software

  10. ikbentomas says:
    7 years ago

    Thanks for the info!
    The thing I like about Grive is the ability to sync multiple google accounts.
    I can now easily sync my private and my work Drive folders which wasn’t possible on Windows with the original Drive software

  11. Oleg Shalaev says:
    7 years ago

    Seems that Google is not very active in providing linux support. There are other cloud services which provide _official_ linux support: yandex-disk (10Gb) and mail.ru-cloud (25Gb). I use yandex-disk + apparmor + gpg + backup2l for my backups. I also store there my (unencrypted) family-video.

  12. Oleg Shalaev says:
    7 years ago

    Seems that Google is not very active in providing linux support. There are other cloud services which provide _official_ linux support: yandex-disk (10Gb) and mail.ru-cloud (25Gb). I use yandex-disk + apparmor + gpg + backup2l for my backups. I also store there my (unencrypted) family-video.

  13. ΒΑΣΙΛΗΣ ΜΕΡΤΖΑΝΗΣ says:
    7 years ago

    how can we start sync every time we boot?

  14. ΒΑΣΙΛΗΣ ΜΕΡΤΖΑΝΗΣ says:
    7 years ago

    how can we start sync every time we boot?

  15. Vinicius says:
    7 years ago

    Thanks. It is working so far to me.

  16. Vinicius says:
    7 years ago

    Thanks. It is working so far to me.

  17. dirt says:
    7 years ago

    Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry ‘main/binary-i386/Packages’ in Release file (Wrong sources.list entry or malformed file)

  18. dirt says:
    7 years ago

    Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry ‘main/binary-i386/Packages’ in Release file (Wrong sources.list entry or malformed file)

No Result
View All Result

Recent Posts

  • Apply now for the $25,000 UNESCO Prize for Your Education Technology Solution
  • Daraz announces the biggest sale of the year – Up to 80% off, mega vouchers up to 11,111 & more
  • 6 things you can do to speed up your Windows 11 computer
  • Vivo Launches V23 5G Smartphone with 50MP AF Portrait Selfie Camera and Elegant Color-Changing Exterior
  • Fix for slow or not responding Brave browser in Windows 11 #BraveBrowser #Windows11
  • Speed up your Windows 11 computer by reducing startup time, here is how to
  • What is band steering and why you should use it #WiFi #Networking
  • Messages for Android and Web saves you tonnes of time and features!
  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021

Recent Comments

  • onlinenepali on Top Websites in Nepal
  • Hikmat Bahadur Sunuwar on Micromax Service Center & Authorized Dealers in Nepal
  • Lorine on Top Websites in Nepal
  • shailendra on Top Websites in Nepal
  • Gloria Brooks on Daraz announces the biggest sale of the year – Up to 80% off, mega vouchers up to 11,111 & more

Listen to TechSansar Podcast

Categories

RoboForm: Learn more...

Recent Posts

  • Apply now for the $25,000 UNESCO Prize for Your Education Technology Solution January 3, 2023
  • Daraz announces the biggest sale of the year – Up to 80% off, mega vouchers up to 11,111 & more November 12, 2022
  • 6 things you can do to speed up your Windows 11 computer April 14, 2022
  • Vivo Launches V23 5G Smartphone with 50MP AF Portrait Selfie Camera and Elegant Color-Changing Exterior April 11, 2022
  • Fix for slow or not responding Brave browser in Windows 11 #BraveBrowser #Windows11 January 5, 2022
  • Speed up your Windows 11 computer by reducing startup time, here is how to December 23, 2021
  • What is band steering and why you should use it #WiFi #Networking November 25, 2021
  • Messages for Android and Web saves you tonnes of time and features! July 7, 2021
  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp July 5, 2021
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021 July 1, 2021

Latest Questions

  • Wifi doesn’t turn back automatically Windows 10 asked by Chandani, 2 years ago
  • Your feed file is too big – Facebook Instant Articles asked by , 2 years ago
  • What is businessfocus.info ads? asked by , 2 years ago
  • MSDOS Boot creation problem. asked by , 3 years ago
  • Why does Google Site Kit keeps disconnecting? asked by Editor, 3 years ago
  • Best eBanking in Nepal asked by Editor, 4 years ago
  • Traditional Nepali Font asked by Malvika Shrestha, 4 years ago
  • Cloud servers VPS in Nepal asked by Sunita, 4 years ago
  • Cloud servers VPS in Nepal asked by Sunita, 4 years ago
  • Cloud servers VPS in Nepal asked by Sunita, 4 years ago

Categories

  • ADSL
  • Apple
  • Applications
  • Broadband
  • Broadcasting
  • Cell Phones
  • Cloud Computing
  • Computing
  • Default
  • Featured
  • Gadgets
  • Google
  • How To
  • India Inc
  • Internetworking
  • Microsoft
  • Nepali IT
  • New Release
  • Products
  • SMS & related
  • Social Networking
  • Software
  • Startups
  • Support
  • Tech Fun
  • Tech News
  • Technology
  • Technology in Effect
  • Telecom
  • Tips & Tricks
  • Tutorials
  • Uncategorized
  • Videos
  • Websites
  • Windows
  • Windows-7
  • टिप्सहरु
  • नेपाली टेक संसार
  • QnA Platform
  • Gadgets
  • Tech News
  • Tips & Tricks
  • About us
  • ICT in Nepal
  • Market

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

No Result
View All Result
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण

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!

Sign In with Facebook
Sign In with Google
OR

Login to your account below

Forgotten Password?

Retrieve your password

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

Log In

Add New Playlist

We are running on limited supplies. Kindly, chat with us before sending payments. Dismiss