How to Install NextCloud Desktop Client on Debian 9 Stretch

This tutorial will show you how to install NextCloud desktop client on Debian 9 Stretch. If you want to know how to install NextCloud server on Debian 9, please check out the following tutorial.

Installing NextCloud Desktop Client on Debian 9 via PPA

The NextCloud development team provides an official PPA for Ubuntu. It can also be used to install NextCloud desktop client on Debian 9. Debian doesn’t have the add-apt-repository command to add PPA. As Mika pointed out in the comments, Debian 9 does have add-apt-repository command. It’s in the software-properties-common package, but it won’t work like Ubuntu out of the box. I will show you how to manually add NextCloud PPA on Debian. Steps are described below.

Open up a terminal window and switch to root user.

su -

Then create a new source list file for NextCloud Linux client.

nano /etc/apt/sources.list.d/nextcloud-client.list

Copy the following two lines and paste them into the source list file. Note that for Debian 9, you will need to use the zesty package for compatibility.

deb zesty main 
deb-src zesty main

nextcloud desktop client

Update: Now you can also install the NextCloud for Ubuntu 17.10 package on Debian 9. So replace zesty with artful.

Save and close the file. Then we need to download and import the signing key to our Debian 9 system so that the integrity of software packages downloaded from this PPA can be verified by APT package manager. Run the following commands. dirmngr is needed to access key servers.

apt install dirmngr
apt-key adv --recv-key --keyserver AD3DD469

nextcloud client debian

Now update local package index and install NextCloud desktop client.

apt update

apt install nextcloud-client

Once installed, you can start NextCloud client from application menu or use the following command in terminal as a standard user.


Enter your NextCloud server address.

nextcloud client debian 9

Enter NextCloud username and password.

nextcloud linux client

Next, set up local folder options.

How to Install nextcloud desktop client on Debian 9 stretch

Run NextCloud Client on Startup

To enable auto start at boot time, simply go to NextCloud settings, then select General tab and check Launch on System Startup.

nextcloud client autostart

That’s it! I hope this tutorial helped you install NextCloud desktop client on Debian 9 Stretch. As always, if you found this post useful, then subscribe to our free newsletter to get new tutorials.

Rate this tutorial
[Total: 10 Average: 4.1]

Leave a Comment

  • Comments with links are moderated by admin before published.
  • Your email address will not be published.
  • Use <pre> ... </pre> HTML tag to quote the output from your terminal/console.
  • * Some of my previous answers are lost after I uninstalled Disqus comment system from my website. I try to recover those answers whenever I can.