However, there are a few ways to use OneDrive on Linux, we have covered complete information on using OneDrive on Linux in this writeup. Before explaining the procedures, let’s discuss some of the key features of Microsoft OneDrive:
- It offers free storage to users.
- Users can easily organize their files.
- It has a close collaboration with the Office.
- It has social networks.
How to Use OneDrive on Linux?
First, install all of the required Microsoft OneDrive dependencies using the following commands in the Linux terminal:
(You can use these commands for Linux Ubuntu/Mint)
sudo apt install libsqlite3-dev
sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list
-O /etc/apt/sources.list.d/d-apt.list
This command will add a repository. Execute the following commands for further operations:
Next, insert this command:
Now, press “CTRL” and “X” to save it and type “Y”, then press the “Enter” button.
Execute the following command:
sudo apt-get update && sudo apt-get install dmd-compiler dub
You can execute the following command for Arch Linux and derivatives:
You execute the following command for Fodera:
sudo yum install sqlite-devel
curl -fsS https://dlang.org/install.sh | bash -s dmd
After that, install the program in your system, but first, download the files using the commands below:
Now, compile and install OneDrive using the commands below:
make
sudo make install
Once you execute the command successfully, the system will download all of the required files for OneDrive and create a directory in the home directory. In case you want to change the OneDrive directory destination, or add any extra exceptions to the file, execute the commands below to create a configuration file for Microsoft OneDrive.
cp ~/onedrive/config ~/.config/onedrive/config
Now execute the following command:
At last, run the program by executing the following command in the Linux terminal.
You will see a link on your screen, copy this link, and open it in the browser. It will open the Microsoft account login screen. Sign in and click on the “Yes” icon when the system requests permission to let the application access the data.
It will open a blank screen, copy the link, paste it into the Linux terminal, and then press “Enter” to download the required files.
That’s it! Your Microsoft OneDrive files are synced with the Linux system.
In case you want to uninstall OneDrive Free Client from the system, execute the following commands:
rm -rf .config/onedrive
In this procedure, we are using OneDrive Free Client, which is an open-sourced tool. It offers impressive features like resumable uploads, state caching, OneDrive supports, folder sharing, real-time file monitoring with Notification, etc.
Use OneDrive on Linux Using Insync
Insync is an excellent third-party tool for syncing the system so that you can use it for Microsoft OneDrive as well. The latest version of Insync offers OneDrive support, but there is a specific procedure to do it. It is a premium tool, but you can use it for syncing your system on Microsoft OneDrive.
- First, download the appropriate package for your Linux system on the official download page of Insync.
- After installing Insync in the system, open and select the OneDrive option.
- Now, log in to the Microsoft OneDrive account and select the folder you want to sync the data (it is a new feature of Insync 3 that you can choose any folder for syncing).
- You can also customize your syncing preference by adding your rules for the sync folder that you want because it is entirely optional.
- Start to sync your files by OneDrive on multiple platforms that include Linux desktop syncing with Insync.
- You can also sync the files faster and smoother by using the new features of Insync and see the syncing process.
Conclusion
This article guides you step-by-step to use OneDrive on Linux easily. Microsoft OneDrive is an excellent online platform to sync data, but unfortunately, Microsoft OneDrive doesn’t have any official version for Linux. The article gives you the entire information to use OneDrive, and we have covered multiple procedures to be used according to the user requirements.