This guide walks you through syncing your Ubuntu files with Google Drive using the official Google Drive client for desktop. You’ll be able to access your Drive files locally, sync folders both ways, and keep everything up to date automatically. Before you start, ensure you have a Google account and a stable internet connection.
What You’ll Need
- An Ubuntu system (20.04 or later recommended)
- A Google account (free or Workspace)
- Administrative privileges to install software
- Internet connection
Step-by-Step
- Download the Google Drive client. Open a browser and go to the official Google Drive download page. Choose the version for Linux (usually a .deb file for Ubuntu).
- Install the downloaded package. Once the .deb file is downloaded, open a terminal in the folder containing it and run:
sudo apt install ./google-drive-desktop_current_amd64.deb. You may need to replace the filename with the actual one you downloaded. - Launch the client. After installation, search for “Google Drive” in the applications menu and open it. The first time you run it, you’ll be asked to sign in.
- Sign in to your Google account. A browser window will open asking you to log in. Enter your Google credentials and grant the requested permissions.
- Choose sync preferences. After signing in, the client will ask how you want to sync. You can choose to mirror your entire Drive, or select specific folders. For most users, “Mirror files” is the simplest option—it downloads everything to a local folder.
- Select a sync folder location. The default is
~/GoogleDrive. You can change it to any location you prefer. Click “Start” to begin the initial sync. - Wait for the initial sync. Depending on the size of your Drive, this may take a while. You’ll see a status icon in the system tray. Once it’s done, your files will be available locally.
- Start using your files. Any changes you make to the local folder will automatically sync to Google Drive, and changes made on other devices will sync back to your Ubuntu machine.
Common Mistakes
- Choosing the wrong sync mode. The “Stream files” option downloads files only when you open them, which saves space but requires internet. If you need offline access, choose “Mirror files” instead.
- Placing the sync folder on an external drive. If the drive is unmounted, the client may fail to sync. Keep the folder on your internal storage for reliability.
- Forgetting to start the client after reboot. The client does not auto-start by default. To enable it, go to the client’s settings and check “Start on login” or add it to your startup applications.
- Syncing the same folder with multiple clients. If you have the Drive client installed on another machine, avoid syncing the same folders to both to prevent conflicts.
Tips
- Use selective sync for large Drives. If you have a lot of files, only sync the folders you need to save bandwidth and disk space.
- Check the system tray icon. It shows sync status and lets you pause/resume syncing, open the folder, or access settings quickly.
- Keep the client updated. Google regularly releases updates that fix bugs and improve performance. You’ll be notified when an update is available.
- Use a dedicated folder for shared files. If you collaborate on documents, consider syncing a shared folder to keep local copies updated.
Troubleshooting
If the client fails to sync or doesn’t start, try these steps:
- Check your internet connection. The client needs a stable connection to sync. Try restarting your router or connecting via Ethernet.
- Restart the client. Right-click the system tray icon and choose “Quit”, then relaunch it from the applications menu.
- Verify the sync folder exists. If you changed the location, make sure the folder is accessible and has read/write permissions.
- Re-authenticate. Go to the client’s settings, sign out, and sign back in. This often resolves authentication issues.
- Check for file conflicts. If a file fails to sync, it may have a name that’s not allowed (e.g., containing special characters). Rename the file and try again.
- Reinstall the client. If all else fails, uninstall the package and reinstall the latest version from the official site.
Frequently Asked Questions
Can I sync only specific folders?
Yes. In the client’s preferences, you can choose which folders from your Drive to sync. This is called “Selective Sync”.
Does the client support multiple Google accounts?
No, the Linux client currently supports only one account at a time. You would need to sign out and sign in with another account to switch.
Will syncing consume a lot of bandwidth?
Initial sync can be heavy, but subsequent syncs only transfer changed files. You can pause syncing temporarily from the system tray.
Can I use the client with Google Workspace accounts?
Yes, it works with both personal and Workspace accounts, as long as your administrator hasn’t disabled Drive for desktop.
What happens if I delete a file locally?
It will be moved to the trash in Google Drive. You can restore it from the Drive web interface within 30 days.
Is there a command-line alternative?
Yes, tools like rclone can sync Google Drive from the terminal, but they require more setup and are not officially supported by Google.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Hide & Unhide Apps on Samsung Phones
- How to Enable Privacy Indicators on Chromebook
- How to Calculate Taxes on Overtime Pay
- VPN Not Working on iPhone? Fixes That Actually Work
- Fix DNS Server Unavailable Error in Windows 11
- Fix iOS 17 Keyboard Not Working Properly