Who's Online
8 visitors online now
3 guests, 5 bots, 0 members
Support my Sponsor
  • An error has occurred, which probably means the feed is down. Try again later.

How to Access OneDrive on Ubuntu

1. Install OneDrive Client for Linux

While there isn’t an official OneDrive app for Linux, you can use the OneDrive Client for Linux, which is compatible with all major Linux distributions. This client provides features like state caching, real-time file monitoring, and syncing. Here’s how to install it:

  1. Open a terminal on your Ubuntu machine.
  2. Add the OpenSuSE Build Service Repository key:
    wget -qO - https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /usr/share/keyrings/obs-onedrive.gpg > /dev/null
  3. Install the OneDrive Client:
    sudo sh -c "echo 'deb [signed-by=/usr/share/keyrings/obs-onedrive.gpg] https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_22.04/ /' > /etc/apt/sources.list.d/onedrive.list" sudo apt update sudo apt install onedrive

2. Authorize OneDrive

  1. Run the OneDrive client:
    onedrive
  2. Copy the link provided in the output.
  3. Paste the link into your browser and authorize the OneDrive application using your account.
  4. Click “Yes” to grant the necessary access.

3. Sync Your Files

Once authorized, the OneDrive Client for Linux will sync your files and folders between your Ubuntu device and your OneDrive account. You’ll have seamless access to your data right from your Linux file manager. Use below command to sync the folder if needed
onedrive destination-directory [FILEPATH] –synchronize

To see the Sync status use below command
onedrive display-sync-status

Comments are closed.