User Tools

Site Tools


linux:onedrive

This is an old revision of the document!


OneDrive on Mint 21

Source: https://linuxhint.com/install-and-use-onedrive-on-linux-mint/

The OneDrive version in the Ubuntu universe repository is version 2.3.13 - do not use, it does not work! Use the PPA instead (current version 2.4.23)

sudo add-apt-repository --remove ppa:yann1ck/onedrive
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
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/obs-onedrive.gpg] https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_22.04/ ./" | sudo tee /etc/apt/sources.list.d/onedrive.list
sudo apt-get update
sudo apt install --no-install-recommends --no-install-suggests onedrive

First run:

onedrive

Then open the displayed url in a browser, authenticate, copy the url of blank page into console

Test:

onedrive --synchronize --verbose --dry-run

Sync manually:

onedrive --synchronize

Install Service:

systemctl status --user onedrive
systemctl --user enable onedrive
systemctl --user start onedrive

systemctl status --user onedrive

https://github.com/abraunegg/onedrive
https://build.opensuse.org/project/show/home:npreining:debian-ubuntu-onedrive

linux/onedrive.1685357734.txt.gz · Last modified: 2023/05/29 11:55 by 127.0.0.1