# Howto: Install Nextcloud Desktop/Client on Raspberry Pi Os (bullseye)

**URL:** <https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328>\
**Category:** 📱 Desktop & mobile clients\
**Tags:** desktop-client, installation, raspberrypi\
**Created:** [January 2, 2022, 3:44pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328 "2022-01-02T15:44:38Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![birdynm](https://help.nextcloud.com/letter_avatar/birdynm/32/6_22734026db12803ebb3e059622ac3534.png) [@birdynm](https://help.nextcloud.com/u/birdynm)\
**Post date:** [January 2, 2022, 3:44pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/1 "2022-01-02T15:44:39Z")

</div>

In the Raspberry Pi Os there is a package ‘nextcloud-desktop’ included but unfortunatley it doesn’t work. Also several Tutorials on compling didn’t work for me, but fortunatley it is in the debian repository (also arm architecture). Simple said: we add the debian repository to the Raspberry Pi Os and install it from there.

Quick & Dirty: (Will create signature warnings)  
Add following line (as root) to the file: /etc/apt/sorces.list: deb [allow-insecure=yes] [http://deb.debian.org/debian](http://deb.debian.org/debian) bullseye main  
In command line: sudo apt update  
In command line: sudo apt install -y nextcloud-desktop

More appropriate with key from Debian:  
Download Archive signing Key from: [ftp-master.debian.org Archive Signing Keys](https://ftp-master.debian.org/keys.html)  
(Currently: [https://ftp-master.debian.org/keys/archive-key-11.asc](https://ftp-master.debian.org/keys/archive-key-11.asc))  
In comand line navigate to the folder where the downloaded file is located and execute: sudo apt-key add (example: sudo apt-key add archive-key-11.asc)

Then Create a new file (e.g. debian.list) in folder (as root): /etc/apt/sources.list.d/  
Add following line in your newly created file (e.g. /etc/apt/sources.list.d/debian.list): deb [http://ftp.debian.org/debian](http://ftp.debian.org/debian) stable main contrib non-free  
In command line: sudo apt update  
In command line: sudo apt install -y nextcloud-desktop

I hope it helps somebody else.

Best Regards

---

<div class="post-metadata">

**Author:** ![DrJambus](https://help.nextcloud.com/user_avatar/help.nextcloud.com/drjambus/32/70132_2.png) [@DrJambus](https://help.nextcloud.com/u/DrJambus)\
**Post date:** [January 3, 2022, 1:28pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/2 "2022-01-03T13:28:44Z")

</div>

the debian package sources for nextcloud are not very well.  
Just add the official package source and the public key of the nextcloud client to your system update the package sources and install the package.

---

<div class="post-metadata">

**Author:** ![syker69](https://help.nextcloud.com/user_avatar/help.nextcloud.com/syker69/32/41962_2.png) [@syker69](https://help.nextcloud.com/u/syker69)\
**Post date:** [January 3, 2022, 1:44pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/3 "2022-01-03T13:44:00Z")

</div>

in case it helps anyone else, i followed this guide to set mine up a couple of weeks ago on a headless Pi4B running bullsye

[https://www.learnlinux.tv/nextcloud-complete-setup-guide/](https://www.learnlinux.tv/nextcloud-complete-setup-guide/)  
same guy did a youtube to easily follow

[![](https://img.youtube.com/vi/y4dtcr2NL5M/maxresdefault.jpg "Nextcloud: Complete Setup Guide") ](https://www.youtube.com/watch?v=y4dtcr2NL5M)

---

<div class="post-metadata">

**Author:** ![birdynm](https://help.nextcloud.com/letter_avatar/birdynm/32/6_22734026db12803ebb3e059622ac3534.png) [@birdynm](https://help.nextcloud.com/u/birdynm)\
**Post date:** [January 6, 2022, 5:40pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/4 "2022-01-06T17:40:53Z")

</div>

> [@DrJambus](#):
>
> package source

what is the official package source? please elaborate

---

<div class="post-metadata">

**Author:** ![DrJambus](https://help.nextcloud.com/user_avatar/help.nextcloud.com/drjambus/32/70132_2.png) [@DrJambus](https://help.nextcloud.com/u/DrJambus)\
**Post date:** [January 11, 2022, 1:43pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/5 "2022-01-11T13:43:41Z")

</div>

I just googled for an easy blog to follow along and i found this:  
[https://linuxconfig.org/how-to-install-nextcloud-client-on-ubuntu-18-04-bionic-beaver-linux](https://linuxconfig.org/how-to-install-nextcloud-client-on-ubuntu-18-04-bionic-beaver-linux)  
This instructions are for Ubuntu but Ubuntu is based on debian and becaus they use the same packagemanager apt you can just follow the instructions in the link above.

---

<div class="post-metadata">

**Author:** ![birdynm](https://help.nextcloud.com/letter_avatar/birdynm/32/6_22734026db12803ebb3e059622ac3534.png) [@birdynm](https://help.nextcloud.com/u/birdynm)\
**Post date:** [January 13, 2022, 12:20am UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/6 "2022-01-13T00:20:01Z")

</div>

Since this is not ubuntu I tried it that way: [https://linuxconfig.org/how-to-install-the-nextcloud-client-on-debian-and-ubuntu](https://linuxconfig.org/how-to-install-the-nextcloud-client-on-debian-and-ubuntu)

But didn’t work for me, couldn’t resolve some package dependencie problems

---

<div class="post-metadata">

**Author:** ![bb77](https://help.nextcloud.com/letter_avatar/bb77/32/6_22734026db12803ebb3e059622ac3534.png) [@bb77](https://help.nextcloud.com/u/bb77)\
**Post date:** [January 13, 2022, 7:26am UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/7 "2022-01-13T07:26:52Z")

</div>

Hi @birdynm

> [@birdynm](#):
>
> But didn’t work for me, couldn’t resolve some package dependencie problems

That’s why you shouldn’t use PPAs on Debian. PPAs are only be meant to be used on Ubuntu, and even there, they have to support the specific version of Ubuntu you are using them. Maybe the Flatpak or the Snap package is an option for you… They are self contained containers that come with all the required dependencies already..

## Flatpak:

Install Flatpak and the Flathub Repository:  
[https://flatpak.org/setup/Raspberry%20Pi%20OS/](https://flatpak.org/setup/Raspberry%20Pi%20OS/)

Install the Nextcloud Desktop Client:  
[https://flathub.org/apps/details/com.nextcloud.desktopclient.nextcloud](https://flathub.org/apps/details/com.nextcloud.desktopclient.nextcloud)

## Snap:

[https://snapcraft.io/install/nextcloud-desktop-client/raspbian](https://snapcraft.io/install/nextcloud-desktop-client/raspbian)

---

<div class="post-metadata">

**Author:** ![matzeatweb](https://help.nextcloud.com/letter_avatar/matzeatweb/32/6_22734026db12803ebb3e059622ac3534.png) [@matzeatweb](https://help.nextcloud.com/u/matzeatweb)\
**Post date:** [April 28, 2022, 12:20pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/8 "2022-04-28T12:20:46Z")

</div>

Thank you so much! I have been trying to install the Nextcloud Client on a Raspberry 3 B+ using Debian Bullseye for hours, and this finally worked! Summarized for easier copy & pasting:  
Run:

```auto
sudo nano /etc/apt/sources.list

```

then append this line, then save (Ctrl + X, Y, Enter):

```auto
deb [allow-insecure=yes] http://deb.debian.org/debian bullseye main

```

Then run:

```auto
sudo apt update
sudo apt install nextcloud-desktop

```

You need to confirm installation and unauthenticated installation with “y” twice.  
If this worked, run Nextcloud with:

```auto
nextcloud

```

---

<div class="post-metadata">

**Author:** ![Jac\_Cremers](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jac_cremers/32/45083_2.png) [@Jac\_Cremers](https://help.nextcloud.com/u/Jac_Cremers)\
**Post date:** [August 10, 2022, 8:41pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/9 "2022-08-10T20:41:53Z")

</div>

Hi @birdynm

Thanks a lot for your post.

When i insert the key from Debian and fill in the file debian.list as described by you i got an error message from the build in update facility of RASPOS64 (someting like release notes missing).

Using the following line in debian.list worked fine for me:

> deb http ://ftp.ca.debian.org/debian stretch stable main contrib non-free

I guess replacing stretch by bullseye will also work (not yet tried; will come back when it’s NOT working 🙂 ).

PS. Remove the space after http. Was needed to avoid an autocorrect.

---

<div class="post-metadata">

**Author:** ![markusk](https://help.nextcloud.com/letter_avatar/markusk/32/6_22734026db12803ebb3e059622ac3534.png) [@markusk](https://help.nextcloud.com/u/markusk)\
**Post date:** [September 13, 2022, 9:30pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/10 "2022-09-13T21:30:03Z")

</div>

I intend to install the NextCloud desktop client.

Just a quick note: the above mentioned Raspberry Pi Os package ‘nextcloud-desktop’ reported to “not work” seems to be removed, `apt search` only find 3 other packages:

```auto
sudo apt search nextcloud-desktop

nextcloud-desktop-common/stable 3.1.1-2+deb11u1 all
  Nextcloud folder synchronization - common data

nextcloud-desktop-doc/stable 3.1.1-2+deb11u1 all
  Nextcloud folder synchronization - documentation

nextcloud-desktop-l10n/stable 3.1.1-2+deb11u1 all
  Nextcloud folder synchronization - localization

```

I will proceed with the Debian repository and post again.

---

<div class="post-metadata">

**Author:** ![markusk](https://help.nextcloud.com/letter_avatar/markusk/32/6_22734026db12803ebb3e059622ac3534.png) [@markusk](https://help.nextcloud.com/u/markusk)\
**Post date:** [September 14, 2022, 12:03pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/11 "2022-09-14T12:03:29Z")

</div>

Adding keys with `apt-key` has been deprecated, and would lead to warnings and the failure of `apt update`.

Instead I used various sources for the following procedure:

1. Get the armored Debian Bullseyes key and give it an explicit name

`curl -o debian-archive-key-11.asc https://ftp-master.debian.org/keys/archive-key-11.asc`

1. Dearmor the key

`gpg --dearmor debian-archive-key-11.asc`

1. Remove the armored key

`rm debian-archive-key-11.asc`

1. Move the key into the keyrings directory

`sudo mv debian-archive-key-11.asc.gpg /usr/share/keyrings`

1. Add the Debian repository to the Raspberry Pi by editing `/etc/apt/sources.list.d/debian.list`

```auto
deb [signed-by=/usr/share/keyrings/debian-archive-key-11.asc.gpg] https://ftp.debian.org/debian stable main contrib non-free

```

1. Update repositories

`sudo apt update`

Because the Raspberry Pi OS and the Debian repositories differ, a large number of packages that can be upgraded.

I assume that I could install just nextcloud-desktop and remove the Debian repository, but this would become unsustainable and unpractical for the majority of Raspberry Pi users who want to install NextCloud.

How can I contact the Raspberry Pi OS NextCloud maintainer or become one?

---

<div class="post-metadata">

**Author:** ![SteveGp](https://help.nextcloud.com/user_avatar/help.nextcloud.com/stevegp/32/46148_2.png) [@SteveGp](https://help.nextcloud.com/u/SteveGp)\
**Post date:** [September 26, 2022, 6:24pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/12 "2022-09-26T18:24:34Z")

</div>

Thanks for this hack. I just found out that the old Owncloud desktop client does not install on bullseye but this hack gives me the real Nextcloud-desktop client.

I installed the client and then went back into the debian.list file and commented out the line. I can use it again when I need to update the client.

---

<div class="post-metadata">

**Author:** ![farvardin](https://help.nextcloud.com/user_avatar/help.nextcloud.com/farvardin/32/22995_2.png) [@farvardin](https://help.nextcloud.com/u/farvardin)\
**Post date:** [November 12, 2023, 5:36pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/13 "2023-11-12T17:36:26Z")

</div>

> [@markusk](#):
>
> `https://ftp.debian.org/debian stable `

thank you for the tutorial, it helped me to use the right certificates!

I wouldn’t advice though to use a generic label such as “debian stable”, because the installed system on the raspberry pi could not necessary match the one for debian stable. For example bookworms is not installable from upgrade on my system, and I’ve installed bullseye instead (after upgrading from buster). If I use “debian stable” (which is bookworms), I’ll break my system.

so I’ve put instead:

```auto
deb [signed-by=/usr/share/keyrings/debian-archive-key-11.asc.gpg] https://ftp.debian.org/debian bullseye main contrib non-free

```

in the  
/etc/apt/sources.list.d/debian.list file

---

<div class="post-metadata">

**Author:** ![mocece2246](https://help.nextcloud.com/letter_avatar/mocece2246/32/6_22734026db12803ebb3e059622ac3534.png) [@mocece2246](https://help.nextcloud.com/u/mocece2246)\
**Post date:** [January 6, 2024, 7:32pm UTC](https://help.nextcloud.com/t/howto-install-nextcloud-desktop-client-on-raspberry-pi-os-bullseye/130328/14 "2024-01-06T19:32:49Z")

</div>

Thank you so much, I just did it and it worked perfectly !  
You saved me so much time, I was struggling since hours.

NB: here is a link I used to install debian on my rpi : [How to Install Debian 12 Bookworm on Raspberry Pi (2024 update) – RaspberryTips](https://raspberrytips.com/install-debian-on-raspberry-pi/)

Best regards
