Google Drive Ubuntu Installation and Configuration

Author

Reads 1.2K

Two women enjoying a casual conversation outdoors, sharing a laptop and smartphone.
Credit: pexels.com, Two women enjoying a casual conversation outdoors, sharing a laptop and smartphone.

To install Google Drive on Ubuntu, you'll need to add the Google repository to your system. This can be done by running the command `sudo apt-get install apt-transport-https`.

Google Drive requires a Google account to function, so make sure you have one before proceeding. You can create a Google account if you don't already have one.

The Google Drive client for Ubuntu can be installed using the `apt-get` package manager. This will give you access to the Google Drive web interface and allow you to sync your files across devices.

To access your Google Drive files from the command line, you can use the `rclone` command. This will allow you to manage your files and sync them across devices.

Curious to learn more? Check out: If I Delete Onedrive Will It Erase Everything

Install Ocamlfuse on Debian, Linux Mint

To install Ocamlfuse on Debian, Linux Mint, or Ubuntu, you can add the official PPA to your system. First, open a terminal window by pressing CTRL+ALT+T.

You'll need to add the PPA repository to your system. Run the command `sudo add-apt-repository ppa:alessandrodecilio/google-drive-ocamlfuse` to add the PPA.

On a similar theme: Google Drive Ocamlfuse

Credit: youtube.com, install Google Drive on Linux Debian, Ubuntu, Linux Mint. (Graphical Interface GDrive)

Next, update the local package index by running `sudo apt update`.

Then, install the Ocamlfuse package by running `sudo apt install google-drive-ocamlfuse`.

Once installed, you'll need to authorize the application to access your Google Drive. Run the command `google-drive-ocamlfuse` to start the authorization process.

You'll be redirected to a webpage where you can log in to your Google account and grant permission to Ocamlfuse.

After authorization is complete, you can mount your Google Drive by running `google-drive-ocamlfuse -d /path/to/mount/point`.

Note that you can also install Ocamlfuse from source on Debian, but this requires compiling the package from scratch.

Here are the steps to install Ocamlfuse from source:

  • Install the OPAM package manager by running `sudo apt install opam`.
  • Install the build dependencies by running `sudo apt install build-essential libfuse-dev libglib2.0-dev libgconf-2-4 libjson-c-dev`.
  • Compile and install Ocamlfuse by running `opam install google-drive-ocamlfuse`.

Mount Your

Mounting your Google Drive on Ubuntu is a straightforward process that can be completed in a few steps. You can create a mount point for your Google Drive, such as ~/google-drive.

To mount your Google Drive, you can use the command:

You'll see a new tab on the left pane in your file manager, and your Google Drive files will populate the ~/google-drive/ folder.

Take a look at this: Rclone Mount

Credit: youtube.com, Mount Google DRIVE in Linux Using Gnome Online Accounts

To unmount Google Drive, issue the command:

This will disconnect your Google Drive from your local system.

Alternatively, you can use the Google Drive Ocamlfuse tool to mount your Google Drive. This tool allows you to mount your Google Drive on the system and access it just like a regular directory. Any changes made will be automatically synced.

Here are the steps to install Google Drive Ocamlfuse on Ubuntu:

1. Install the software-properties-common package.

2. Add the PPA for Google Drive Ocamlfuse.

3. Update the local package index.

4. Install the application.

Once installed, you'll need to authorize the application to access your Google Drive. You can do this by running the command:

This will open a new tab in your browser asking you to grant permission to view and manage the files in your Google Drive.

You can also use the Celeste tool to set up Google Drive on Ubuntu. Here are the steps:

1. Select "Google Drive" as the server type.

Credit: youtube.com, How to Mount a Google Drive Locally with Rclone

2. Type a desired name.

3. Click the "Log in" button.

In the pop-up browser window, log in to your Gmail account and grant access permission. If everything is done successfully, you'll see a success message.

After logging in, you can select your server name and click the "folder" icon to map your Google Drive files to a local folder. You can choose a local folder or insert a sub-folder name to sync only that individual folder.

Here are some tips to keep in mind:

  • For Snap package, choose your username in the pop-up dialog instead of "Home" for your user home directory.
  • Skip the "The folder content could not be displayed – Operation was cancelled" error pop-up, which is probably a Snap permission issue.
  • Click the folder under "Directories" and set to exclude any files you don't want to sync.

For All Desktop Environments

If you're using a desktop environment like GNOME, Plasma, or Cinnamon, you're in luck - there's a built-in option to set up Google Drive.

For these desktop environments, simply launch Settings, then navigate to Online Accounts in the left panel.

You can then click Google, sign in with your email account, and grant permission to access your Google Drive files from your Ubuntu Desktop.

Any files you create or paste in a local folder will get synced into the cloud, and you can access them from the File Manager window.

Credit: youtube.com, How to Use Google Drive on Linux Desktop | Install overGrive on Ubuntu Linux Tutorial

You can also click your account in the Online Account setting page at any time to turn on or off access permission for Mail, Calendar, Contacts, and Files.

Alternatively, you can use the free open-source application "Celeste" that uses rclone as its backend.

This app supports syncing files with Google Drive, as well as other cloud services like Dropbox, Nextcloud, Owncloud, pCloud, Proton Drive, and WebDAV.

You can launch Celeste from the start menu or Gnome overview, depending on your desktop environment.

Consider reading: Storage Account Azure

Alternative Solutions

If you're not satisfied with the integration of Google Drive with Ubuntu, there are alternative solutions available.

One such solution is OwnCloud, a self-hosted cloud storage service that allows you to access your files from anywhere, just like Google Drive.

You can also consider using Dropbox, which is another popular cloud storage service that integrates well with Ubuntu.

Microsoft OneDrive is another option, although it may require more setup and configuration compared to Google Drive.

If you're looking for a more open-source solution, Nextcloud is another self-hosted cloud storage service that's worth considering.

You can also use local storage solutions like external hard drives or network-attached storage (NAS) devices to store your files.

Curious to learn more? Check out: Nextcloud Self Hosted

Setup Methods

Credit: youtube.com, How to Install Google Drive In Linux

To set up Google Drive on Ubuntu, you have two main options: using the Celeste method or installing it as a Flatpak package.

You can set up Google Drive via Celeste by selecting "Google Drive" as Server Type, typing a desired name, and clicking the "Log in" button.

In the pop-up browser window, log in to your Gmail account and grant access permission.

If everything goes smoothly, you'll see a success message that says "Success! All done. Please go back to rclone."

After logging in, you'll see the app window where you can select your server name and click the "folder" icon to map your Google Drive files onto a local folder.

You can choose a local folder, such as one you created manually in your user home, or select a remote folder and insert a sub-folder name to sync only that individual folder.

Here are the steps to map your Google Drive files onto a local folder:

  • Choose a local folder (e.g., one you created manually in your user home).
  • Click "OK" to map all your Google Drive files onto that folder.

Alternatively, you can insert a sub-folder name under "Remote folder" to sync only that individual folder.

To exclude any files you don't want to sync, click the folder under "Directories" in the app window and set it to exclude those files.

Frequently Asked Questions

Does Ubuntu support Google?

Ubuntu Pro images run on the Google platform, but for specific Google configurations, Google provides support

How to sync folder to Google Drive Ubuntu?

To sync a folder to Google Drive on Ubuntu, sign in to your Google account with your email and password, then allow GNOME to access your account features. Once granted, you can proceed with syncing your folder to Google Drive.

Francis McKenzie

Writer

Francis McKenzie is a skilled writer with a passion for crafting informative and engaging content. With a focus on technology and software development, Francis has established herself as a knowledgeable and authoritative voice in the field of Next.js development.

Love What You Read? Stay Updated!

Join our community for insights, tips, and more.