abraunegg-onedrive/docs/ubuntu-package-install.md
abraunegg 2b32c3a497
Add new document for Debian and Ubuntu package installs via OpenSuSE Build Service (#1588)
* Add new document to detail package installation on Debian and Ubuntu platforms via OpenSuSE Build Service
* Depreciate recommending Ubuntu PPA due to dependency on Debian packages
2021-07-26 14:41:54 +10:00

5.6 KiB

Installation of 'onedrive' package on Debian and Ubuntu

This document covers the appropriate steps to install the 'onedrive' client using the provided packages for Debian and Ubuntu.

Important information for all Ubuntu and Ubuntu based distribution users:

This information is specifically for the following platforms and distributions:

  • Ubuntu
  • Lubuntu
  • Linux Mint
  • POP OS
  • Peppermint OS

Whilst there are onedrive Universe packages available for Ubuntu, do not install 'onedrive' from these packages via apt install onedrive. The default Ubuntu Universe packages are out-of-date and are not supported and should not be used.

Distribution Package Install Instructions

Distribution: Debian 10

The packages support the following platform architectures:

 i686  x86_64 ARMHF AARCH64
supported supported supported supported

Step 1: Update /etc/apt/sources.list

Add the following to the end of your /etc/apt/sources.list file:

deb https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/Debian_10/ ./

Step 2: Download and add the release key

  1. Download the 'Release.key' file: wget https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/Debian_10/Release.key
  2. Add the 'Release.key' file to your apt key repository: apt-key add ./Release.key

Step 3: Update your apt package cache

  1. Run: apt-get update

Step 4: Install 'onedrive'

  1. Run: apt install onedrive

Distribution: Ubuntu 20.04

The packages support the following platform architectures:

 i686  x86_64 ARMHF AARCH64
not_supported supported supported supported

Step 1: Update /etc/apt/sources.list

Add the following to the end of your /etc/apt/sources.list file:

deb https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_20.04/ ./

Step 2: Download and add the release key

  1. Download the 'Release.key' file: wget https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_20.04/Release.key
  2. Add the 'Release.key' file to your apt key repository: apt-key add ./Release.key

Step 3: Update your apt package cache

  1. Run: apt-get update

Step 4: Install 'onedrive'

  1. Run: apt install onedrive

Distribution: Ubuntu 20.10

The packages support the following platform architectures:

 i686  x86_64 ARMHF AARCH64
not_supported supported supported supported

Step 1: Update /etc/apt/sources.list

Add the following to the end of your /etc/apt/sources.list file:

deb https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_20.10/ ./

Step 2: Download and add the release key

  1. Download the 'Release.key' file: wget https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_20.10/Release.key
  2. Add the 'Release.key' file to your apt key repository: apt-key add ./Release.key

Step 3: Update your apt package cache

  1. Run: apt-get update

Step 4: Install 'onedrive'

  1. Run: apt install onedrive

Distribution: Ubuntu 21.04

The packages support the following platform architectures:

 i686  x86_64 ARMHF AARCH64
not_supported supported supported supported

Step 1: Update /etc/apt/sources.list

Add the following to the end of your /etc/apt/sources.list file:

deb https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_21.04/ ./

Step 2: Download and add the release key

  1. Download the 'Release.key' file: wget https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_21.04/Release.key
  2. Add the 'Release.key' file to your apt key repository: apt-key add ./Release.key

Step 3: Update your apt package cache

  1. Run: apt-get update

Step 4: Install 'onedrive'

  1. Run: apt install onedrive

Known Issues with Installing from the above packages

The 'onedrive' client will automatically startup post 'authentication' without any further actions. In some circumstances this may be highly undesirable.

This is because, when the package is installed, the following symbolic link is created:

Created symlink /etc/systemd/user/default.target.wants/onedrive.service → /usr/lib/systemd/user/onedrive.service.

This issue is being tracked by: #1274