
On Ubuntu 22.04 and newer, ensure FUSE2 is installed first. This part is optional, but you can also install the GUI for the OneDrive client if you want. Check the first section for a step-by-step reference. sudo apt install -no-install-recommends -no-install-suggests onedriveĪfter installing it, launch OneDrive, authorize it, initiate a sync, and get started. Update the apt package cache with sudo apt update Step 3: Install and Launch OneDriveĪt this point, we’ve added the OneDrive package to our sources list and updated the package index so that we have access to the latest version. " | sudo tee /etc/apt//onedrive.list Step 2: Update Package Index wget -qO - | gpg -dearmor | sudo tee /usr/share/keyrings/obs-onedrive.gpg > /dev/null echo "deb. Make sure to adjust the Ubuntu version in the commands if installing on something other than 22.04. Step 1: Add OBS Repo & Release KeyĪdd the OpenSuSE Build Service (OBS) repository and release key with the commands shown below. This is the recommended way to install OneDrive on Ubuntu as it lets you install and maintain the latest version through apt. But if you just want a quick and easy install method, this is a viable option. The developer highly recommends the other two installation methods over this as older packages can be buggy. For reference, the latest version available is onedrive 2.4.23, while Jammy (22.04 LTS) is still stuck with onedrive 2.4.13. Note: One problem with this method is that the packages from Universe tend to be outdated.

This’ll create a OneDrive folder in your home directory and sync your drive’s contents there. For starters, you should initiate a one-time sync. Login to your Microsoft account and give access to the OneDrive Client for Linux.Ĭopy the resulting URL, paste it into the terminal, and press Enter.Īfter completing the authorization, you can start using the client. Right-click the authorization URL and select Open Link. sudo apt install -y onedriveĪfterward, launch OneDrive by entering onedrive The easiest way to download OneDrive for Ubuntu is by installing it from the universe repo. It supports two-way sync and most other features found on the native OneDrive client on Windows. It’s a free and powerful client that supports most distros including Ubuntu. The best of these is the OneDrive client by developer abraunegg. There are many third-party clients that support cloud syncing. But that’s not to say you can’t use OneDrive on Linux.

Microsoft hasn’t released a Linux version of the OneDrive client, and this doesn’t seem to be changing anytime soon.
