OneDrive for Linux

One of the most used cloud services is undoubtedly Microsoft's Onedrive, but for obvious proprietary reasons Microsoft does not offer any official compatibility with other systems outside of Windows.

In this case we can rely on the "official" port of this service which works very well, I tried it on Linux Mint 20.3.

Open the terminal and write this command:

sudo apt-get install onedrive

Confirm and wait for the download and installation of the packages to finish.

Now let's start the software by typing:

onedrive

Now the software is installed and we have the version chosen by our Linux distribution, but if we want to have the software always updated, we must install the repositories in the system.

sudo add-apt-repository ppa:yann1ck/onedrive

sudo apt-get update

Now with the updated Repositories, we can update OneDrive

sudo apt-get install --only-upgrade onedrive

We now have OneDrive installed and updated, but this doesn't work by itself, we have to type some commands on the terminal to keep everything updated, and our files synchronized.

onedrive --synchronize

onedrive --monitor

This seems positive but it is very inconvenient, because we have to type the commands on the terminal every time, so we indulge our laziness justified by the fact that a computer is excellent when it works alone to do things for us, in total autonomy. then, we add the software in automatic startup of the system.

Command for Synchronize file

onedrive --synchronize

onedrive --monitor

Command for auto-start

systemctl --user enable onedrive

systemctl --user start onedrive

We can configure OneDrive in another way, by reading the official guide of the software site and the team of developers that we thank.

Link: OneDrive Free Client