cd /home/tmp
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
apt install ./google-chrome-stable_current_amd64.deb
===========================================
vim /etc/apt/sources.list
deb http://de.archive.ubuntu.com/ubuntu jammy main universe
apt update
apt install onedrive
然后执行onedrive启动。把弹出的网址复制到浏览器,登录账户,然后把地址再复制回来即可。
程序会自动创建${HOME}/OneDrive目录,并自动下载Onedrive网盘的文件。
使用 onedrive -h 可以查看命令使用说明。
如果想每次登录都自动开启onedrive的登录和同步,执行
systemctl --user enable onedrive
systemctl --user start onedrive
参考:
https://www.howtoinstall.me/ubuntu/18-04/onedrive/
https://github.com/skilion/onedrive
===============================================
https://github.com/abraunegg/onedrive
sudo apt remove onedrive
https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md
wget http://de.archive.ubuntu.com/ubuntu/pool/universe/o/onedrive/onedrive_2.4.13-1build1_amd64.deb
apt install ./onedrive_2.4.13-1build1_amd64.deb
dpkg -i ./onedrive_2.4.13-1build1_amd64.deb
apt --fix-broken install
onedrive --version
onedrive --upload-only --synchronize