User Tools

Site Tools


linux:onedrive

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:onedrive [2025/09/02 17:49] Wufflinux:onedrive [2026/07/20 20:43] (current) Wuff
Line 11: Line 11:
 sudo apt-get update sudo apt-get update
 sudo apt install --no-install-recommends --no-install-suggests onedrive sudo apt install --no-install-recommends --no-install-suggests onedrive
 +</code>
 +
 +Furthermore, old curl 8.5.0 is in the upstream repos which contains bugs interfering with onedrive. Manual upgrade to 8.20.0 via removing and building it locally can be found here:
 +https://github.com/abraunegg/onedrive/discussions/2997
 +essentially this script:
 +<code bash curlupdate.sh>
 +#!/bin/bash
 +
 +# Upgrade curl to v8.20.0
 +sudo apt-get install -y nghttp2 libnghttp2-dev libssl-dev libpsl-dev zlib1g-dev libbrotli-dev libzstd-dev build-essential pkg-config wget xz-utils ca-certificates
 +
 +# Remove distro curl binary so /usr/local/bin/curl is the active curl
 +sudo apt-get remove -y curl || true
 +
 +# Remove any previous manual /usr/local curl install
 +sudo rm -f /usr/local/bin/curl
 +sudo rm -f /usr/local/bin/curl-config
 +sudo rm -f /usr/local/lib/libcurl.so
 +sudo rm -f /usr/local/lib/libcurl.so.*
 +sudo rm -f /usr/local/lib/libcurl.a
 +sudo rm -f /usr/local/lib/libcurl.la
 +sudo rm -f /usr/local/lib/pkgconfig/libcurl.pc
 +sudo rm -rf /usr/local/include/curl
 +
 +wget https://curl.se/download/curl-8.20.0.tar.xz
 +tar -xvf curl-8.20.0.tar.xz
 +rm curl-8.20.0.tar.xz
 +cd curl-8.20.0
 +
 +./configure --prefix=/usr/local --with-openssl --with-nghttp2 --with-libpsl --with-zlib --with-brotli --with-zstd --enable-versioned-symbols --disable-static
 +
 +make
 +sudo make install
 +sudo ldconfig
 +cd ..
 +rm -r curl-8.20.0
 +
 +curl --version
 +ldd "$(which curl)" | grep libcurl || true
 +curl-config --version
 </code> </code>
  
linux/onedrive.txt · Last modified: by Wuff