How do I access OneDrive from my Linux device?

OneDrive is a cloud storage platform offered by Microsoft that is linked to your email account. OneDrive offers several benefits such as 5 GB of cloud storage, sharing folders, files, and links with other users, viewing Office documents, and data synchronization.

If you’re using Windows, this service will be virtually synchronized, but not if you’re using Linux. That’s why we’ll explain how to access and synchronize OneDrive on your Linux device.

How do I access OneDrive from my Linux device? – Sync

Index( )

  1. What requirements are needed to sync OneDrive on your Linux device?
    1. An active OneDrive account
    2. Supported web browser
  2. What are the steps to follow to access OneDrive from your Linux computer?
  3. Why can’t you access OneDrive properly from your Linux system and what to do?
    1. Incompatible browser
    2. Installing OneDrive-compatible browser on Linux

What requirements are needed to sync OneDrive on your Linux device?

OneDrive is considered one of the best  cloud storage services. If you want to access and sync OneDrive on your Linux device, you must meet certain requirements, which we’ll explain below.

An active OneDrive account

To sync OneDrive, you must have an active personal Microsoft account, or a work or school account. To create your personal Microsoft account, do the following:

  1. Go to the official Microsoft page.
  2. Select ‘Create a Microsoft account’.
  3. Enter a valid and unique address, then your password, and click ‘Next’.
  4. A form will appear for you to complete. Click ‘Next’ and you’ll have an active account.

Supported web browser

You can sync your account using supported browsers: Microsoft Edge, Chrome, Firefox, and Safari. You can also get the OneDrive mobile app, but you’ll need an iPhone or iPad with iOS 13 or later.

What are the steps to follow to access OneDrive from your Linux computer?

To access OneDrive from your Linux PC, you need a program called OneDrive-D. This third-party application works with the OneDrive API so you can properly sync your account and access all your files.

You need to install the ‘Git’ package for your Linux distribution for the OneDrive-D program to work. Open a terminal and type the following:

  • Ubuntu: sudo apt install git
  • Arch Linux: sudo pacman -S git
  • Fedora: sudo dnf install git
  • Debian: sudo apt-get install git
  • OpenSUSE: sudo zypper install git

Now to install OneDrive-D follow these steps:

  1. Open a terminal with ctrl+alt+T and enter the following commands:

git clone https://github.com/xybu92/onedrive-d.git

cd onedrive-d

  1. Run the program with the command ‘./install.sh’
  2. If during the installation you see the following message

Traceback (most recent call last):

File “setup.py”, line 4, in

from setuptools import setup, find_packages

ImportError: No module named ‘setuptools’

  1. Enter this command:

‘sudo apt-get install python3-setuptools’

  1. Now to configure OneDrive-D enter the command ‘onedrive-pref’ this will give you a link.
  2. You must paste the link into your browser to identify yourself, then you will get another link that you must also paste into the browser.
  3. To tell OneDrive-D where to sync, type the following command ‘mkdir -p ~/OneDrive’ and indicate where the folder you want to use for sync is, the path of this folder should be ‘/home/username/OneDrive/’
  4. Finally, to enter and synchronize your account you must use the command ‘start onedrive-d’

Another way to access OneDrive is by using the premium Insync tool, the steps you must follow are:

  1. Go to the official website.
  2. Download the app.
  3. Once the download is complete, launch it and choose ‘OneDrive’.
  4. You must have a license for the OneDrive account you want to add.
  5. After authorizing your OneDrive account, select the folder where you want to sync your files.
  6. You’ll have the option to choose whether you want syncing from the cloud or locally.
  7. You can customize the synchronization and even decide if you want any folders to be ignored during synchronization.

With these simple steps, you can sync your OneDrive files or folders on Linux with Insync.

Why can’t you access OneDrive properly from your Linux system and what to do?

There are several reasons why you might not be able to access OneDrive, one of which is that your Linux operating system and OneDrive are not up to date.

Incompatible browser

The OneDrive service works great on Windows using any browser, but unfortunately, this isn’t the case on the Linux operating system. You may experience issues accessing your account or downloading files. The recommended browser for accessing and using your account without issues on the Linux operating system is Microsoft Edge.

Installing OneDrive-compatible browser on Linux

The recommended browser for using OneDrive on Linux is Microsoft Edge , which can be used on Linux Mint, Ubuntu, Zoris OS, Fedora, and others. To install it, follow these steps:

  1. Go to the official website.
  2. Download the .deb file.
  3. When the download is complete, double-click the file.
  4. Then click ‘Install’.
  5. Enter your password and click ‘Authenticate’.
  6. You can now use the Microsoft Edge browser on your PC.

Now if you want to install it on your mobile the steps are as follows:

  1. Go to the App Store and search for ‘Microsoft Edge’.
  2. Open ‘Microsoft Edge’ from the list and click ‘get’ to install it.
  3. Once the download is complete, open the browser on your mobile.
  4. You’ll see a screen where you can sign in with your Microsoft account. If you don’t want to, click ‘Skip.’
  5. Below you will see the main page of the Microsoft Edge browser.
  6. If you want to open the menu, tap the three dots located at the bottom of your mobile screen.

This way, you can enjoy the Microsoft Edge browser and your OneDrive account  by uploading files and sharing them via links, among other things.

 

Leave a Comment

Scroll to Top