Google Drive stores documents, photos, and backups in Google cloud storage. Unlike Windows and macOS, Google does not publish an official Linux desktop sync client—so Ubuntu users wire Drive in through GNOME Online Accounts (browse files in the Files app), rclone mount (modern CLI), legacy google-drive-ocamlfuse, or the commercial Insync .deb.
This guide covers how to install and use Google Drive on Ubuntu with four practical paths. Package versions below were checked on Ubuntu 25.04; the GNOME Settings flow matches stock Ubuntu Desktop on Wayland or X11.
Tested on: Ubuntu 25.04 (Plucky Puffin); kernel 6.14.0-37-generic; amd64.
Prerequisites
- Ubuntu 22.04 LTS, 24.04 LTS, or newer (25.04 used for
aptchecks here) on x86_64. - sudo for
aptinstalls and.debpackages. - A Google account with Drive storage (free tier includes 15 GB shared across Google services).
- Desktop GNOME session for Method 1 (Settings and Files app)—SSH-only servers should use rclone (Method 2).
- Outbound HTTPS to
google.com,googleapis.com, andaccounts.google.com.
See check Ubuntu version if you are unsure which release you are on.
Choose an install method
| Method | Best for | Jump to |
|---|---|---|
| GNOME Online Accounts + Files | Ubuntu Desktop users on stock GNOME who want Drive in the sidebar without extra packages | Method 1 |
| rclone mount | CLI users, servers, and anyone who wants a mount point under ~/gdrive with scriptable sync |
Method 2 |
| google-drive-ocamlfuse | Users following older tutorials when the PPA still supports their Ubuntu release | Method 3 |
Insync .deb |
Users who need full desktop sync, selective folders, and paid support | Method 4 |
For most Ubuntu Desktop installs, start with GNOME Online Accounts. Use rclone when you need a terminal-driven mount or work over SSH.
Method 1: GNOME Online Accounts and Files (recommended)
Ubuntu Desktop ships GNOME Control Center, which includes Online Accounts. The backend package is gnome-online-accounts; on minimal spins it may be missing even when the desktop otherwise works.
Install the package with apt if Settings has no Online Accounts section:
sudo apt update
sudo apt install -y gnome-online-accountsOn Ubuntu 25.04 apt-cache policy reported:
gnome-online-accounts:
Candidate: 3.54.1-1Link your Google account
- Open Settings from the application menu (or run
gnome-control-centerin a terminal). - Select Online Accounts in the left sidebar.
- Click Google, then sign in with your Google credentials in the browser window that opens.
- Approve the permissions Google requests for Drive, Calendar, and Mail as needed—enable Files / Google Drive access when prompted.
- Close Settings. Open the Files app (Nautilus).
Your Google account appears in the Files sidebar (often at the bottom under Other Locations or directly under the account label). Click it to browse My Drive, Shared with me, and other Drive locations. Files open on demand; this is not the same as downloading your entire Drive to disk.
Verify
- In Files, confirm you can list folders and open a document from Drive.
- In Settings → Online Accounts, the Google entry should show as connected.
This integration behaves similarly to other cloud accounts on GNOME—it is ideal for opening and saving files without a dedicated sync daemon. For Dropbox-style folder sync, see install Dropbox on Ubuntu or use rclone / Insync below.
Method 2: Mount Google Drive with rclone
rclone is a maintained CLI tool for cloud storage. Ubuntu ships it in universe; it supports Google Drive mounts via FUSE without a third-party PPA.
Install:
sudo apt update
sudo apt install -y rclone fuse3On Ubuntu 25.04:
rclone:
Candidate: 1.60.1+dfsg-4ubuntu0.25.04.1Configure a drive remote
Run the interactive wizard:
rclone configTypical answers:
n— new remote- name:
drive - storage:
drive(Google Drive) - client_id / client_secret: press Enter for defaults
- scope:
1(full access) unless you need read-only - service_account_file: leave blank
- Edit advanced config:
n - Use auto config:
yon a desktop (opens browser); on headless SSH usenand follow the printedrclone authorizesteps on another machine - Configure as Shared Drive:
nfor personal My Drive - Confirm and quit with
q
Mount and test
Create a mount point and mount (foreground for first test):
mkdir -p ~/gdrive
rclone mount drive: ~/gdrive --vfs-cache-mode writesIn another terminal:
ls ~/gdrive
rclone ls drive: | head
rclone about drive:You should see Drive folders under ~/gdrive and quota details from rclone about.
Stop the foreground mount with Ctrl+C, then run in the background when satisfied:
rclone mount drive: ~/gdrive --vfs-cache-mode writes --daemonUnmount later:
fusermount -u ~/gdrive--vfs-cache-mode full for heavier read/write workloads; it uses more local disk under ~/.cache/rclone. For systemd autostart, create a user unit that runs the rclone mount command after login.
Method 3: google-drive-ocamlfuse (legacy PPA)
google-drive-ocamlfuse is an older FUSE client that mounts Google Drive to a local directory. It was popular before rclone matured, but maintenance depends on a third-party PPA that may not track the newest Ubuntu releases.
Add the PPA (only if Launchpad lists your codename—jammy, noble, plucky, etc.):
sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt update
sudo apt install -y google-drive-ocamlfuseHonest limitations:
- The PPA maintainer may not publish builds for Ubuntu 24.04+ or 25.04 immediately;
apt installcan fail with no installation candidate. - Google occasionally changes OAuth requirements; unmaintained FUSE clients break while rclone and GNOME Online Accounts keep working.
- Treat this as a legacy fallback, not a first choice on new installs.
When the package installs, authenticate and mount:
mkdir -p ~/gdrive-ocaml
google-drive-ocamlfuse ~/gdrive-ocamlFirst run opens a browser for Google sign-in. Verify:
df -h | grep google-drive-ocamlfuse
ls ~/gdrive-ocamlUnmount:
fusermount -u ~/gdrive-ocamlMethod 4: Insync commercial .deb (optional)
Insync is a paid desktop client that syncs Google Drive (and OneDrive) to a local folder with selective sync, multiple accounts, and a tray icon—closest to the experience Google offers on other platforms.
- Download the
.debfor your Ubuntu version from insynchq.com/downloads. - Install with apt:
cd ~/Downloads
sudo apt install ./insync_*_amd64.deb- Launch Insync from the application menu, sign in with Google, and choose which folders to sync (default sync root is often
~/Google Drive).
Insync requires a license after the trial. Use it when GNOME Online Accounts and rclone do not meet your workflow; skip it if you only need occasional file access.
Verify and daily use
| Check | Command / action |
|---|---|
| GNOME linked | Settings → Online Accounts → Google shows connected |
| Browse in GUI | Files → Google account → open a Drive folder |
| rclone remote | rclone listremotes → drive: |
| rclone listing | rclone ls drive: | head |
| Mount active | mount | grep gdrive or df -h | grep gdrive |
| Quota | rclone about drive: |
Uninstall
GNOME Online Accounts:
- Settings → Online Accounts → Google → Remove (or disconnect individual services).
rclone:
fusermount -u ~/gdrive 2>/dev/null
rclone config delete drive
sudo apt purge -y rclone
rm -rf ~/.config/rclonegoogle-drive-ocamlfuse:
fusermount -u ~/gdrive-ocaml 2>/dev/null
sudo apt purge -y google-drive-ocamlfuse
sudo add-apt-repository --remove ppa:alessandro-strada/ppaInsync:
sudo apt purge -y insync
# Optional: rm -rf ~/Google\ Drive # only when you intend to delete local sync dataTroubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| No Online Accounts in Settings | Package not installed | sudo apt install -y gnome-online-accounts and reopen Settings |
| Google sign-in fails in browser | Blocked cookies or corporate proxy | Try a personal network; allow third-party cookies for accounts.google.com |
| Drive missing in Files sidebar | Account added but Files not restarted | Sign out/in under Online Accounts; restart Files (nautilus -q) |
rclone mount hangs |
FUSE not available | sudo apt install fuse3; ensure user is in group that may use FUSE |
Transport endpoint is not connected |
Stale FUSE mount | fusermount -u ~/gdrive then remount |
google-drive-ocamlfuse no candidate |
PPA lacks build for your codename | Use rclone or GNOME Online Accounts instead |
Insync .deb dependency errors |
Wrong Ubuntu build downloaded | Pick the matching release from Insync downloads |
| Expecting full sync like Dropbox | GNOME streams on demand | Use rclone with cache, ocamlfuse, or Insync |
References
- GNOME Online Accounts — integration used by Ubuntu Desktop
- rclone Google Drive documentation — configure
driveremotes and mount options - google-drive-ocamlfuse on GitHub — legacy FUSE client and PPA notes
- Insync for Linux — commercial sync client
.deb - Ask Ubuntu: Can Google Drive desktop be used on Ubuntu? — community overview of Linux options
- On-site: apt command, sudo, install Dropbox on Ubuntu
Summary
Google does not ship an official Linux Drive client, but Ubuntu Desktop users can link Drive through Settings → Online Accounts → Google and browse files in the Files app—the simplest path on GNOME. rclone from Ubuntu universe (1.60.1 on 25.04) is the modern CLI alternative: rclone config a drive remote, rclone mount drive: ~/gdrive, and verify with rclone ls and rclone about.
google-drive-ocamlfuse remains in a legacy PPA that may not support the newest Ubuntu releases—prefer rclone when the PPA has no package. Insync is an optional paid .deb when you need full folder sync. Pick one method, link your Google account once, and confirm files appear before relying on it for daily work.

