Microsoft OneDrive is a popular cloud storage service that allows users to store files and access them from any device with an internet connection. While OneDrive is primarily designed for Windows and macOS systems, it’s possible to access and sync OneDrive files on Linux systems like Ubuntu using third-party tools. In this article, we’ll guide you through the process of installing a OneDrive GUI client on Ubuntu, making it easier to manage your OneDrive files on a Linux system.
Step 1: Install OneDrive Free Client
The first step is to install the OneDrive Free Client, a command-line tool that enables access and synchronization of OneDrive files on Linux systems. Open a terminal window and execute the following commands:
sudo apt update sudo apt install curl build-essential libcurl4-openssl-dev libsqlite3-dev pkg-config git
Next, clone the OneDrive Free Client repository and build the tool:
git clone https://github.com/abraunegg/onedrive.git cd onedrive ./configure make sudo make install
Step 2: Configure OneDrive Free Client
After installing the OneDrive Free Client, you need to configure it with your OneDrive account. Run the following command:
onedrive --synchronize --verbose
The client will prompt you to open a URL in your browser, where you’ll need to sign in with your Microsoft account and grant the OneDrive Free Client permission to access your OneDrive files. After granting permission, you’ll be provided with a code. Copy the code and paste it back into the terminal, then press Enter to complete the configuration.
Step 3: Install OneDrive GUI
To install a OneDrive GUI on Ubuntu, we’ll use a tool called “onedrive-dolphin.” This tool integrates OneDrive with the Dolphin file manager, providing a convenient way to manage your OneDrive files with a graphical interface. Begin by installing the necessary dependencies:
sudo apt install cmake extra-cmake-modules qtbase5-dev libkf5config-dev libkf5coreaddons-dev libkf5i18n-dev libkf5iconthemes-dev libkf5kio-dev
Next, clone the “onedrive-dolphin” repository and build the tool:
git clone https://github.com/xybu/onedrive-dolphin.git cd onedrive-dolphin mkdir build cd build cmake .. make sudo make install
Step 4: Launch OneDrive GUI
To launch the OneDrive GUI, open Dolphin file manager, and click on “Network” in the left sidebar. You should see a new entry named “OneDrive.” Click on the OneDrive entry, and Dolphin will display your OneDrive files and folders.
You can now interact with your OneDrive files using the graphical interface provided by Dolphin. You can upload, download, and manage your files just as you would with any other folder on your system.
Installing a OneDrive GUI on Ubuntu makes it easier to access and manage your OneDrive files on a Linux system. By following this step-by-step guide, you can set up the OneDrive Free Client and integrate it with the Dolphin file manager for a seamless OneDrive experience on Ubuntu. Enjoy the convenience of having your OneDrive files readily accessible through a graphical interface on your Linux system.
Mukul Kandhari is an internet marketer, SEO, and web developer with a passion for programming.