How to Install Nextcloud Desktop on Ubuntu (26.04, 24.04, 22.04)

Last updated Saturday, February 21, 2026 7:55 am 6 min read

Nextcloud Desktop Client keeps your files synchronized between your Ubuntu system and any Nextcloud server, whether self-hosted or provider-managed. You can install Nextcloud Desktop on Ubuntu through the official Nextcloud PPA or through Flatpak. Once connected, changes you make locally appear on the server and all other linked devices automatically, making it practical for syncing documents across workstations, backing up files to a private cloud, and collaborating through shared folders.

Install Nextcloud Desktop on Ubuntu

Ubuntu provides Nextcloud Desktop Client through its default repositories, but those packages lag behind the upstream release. The table below compares methods that deliver newer versions with better update handling:

MethodUbuntu 26.04Ubuntu 24.04Ubuntu 22.04UpdatesBest For
Nextcloud PPA4.0.x4.0.x4.0.xAutomatic via apt upgradeMost users who want the latest release with native APT integration
Flatpak (Flathub)4.0.x4.0.x4.0.xAutomatic via flatpak updateUsers who prefer sandboxed applications with distribution-independent packaging

For most users, the PPA method is recommended because it provides the latest stable release across all three LTS versions with seamless APT integration and lower disk overhead than Flatpak.

The instructions on this page apply to Ubuntu 26.04, 24.04, and 22.04 LTS. The Nextcloud PPA publishes packages for all three releases, and Flatpak works identically across all versions through Flathub.

Install Nextcloud Desktop via PPA

The Nextcloud development PPA provides the latest stable releases, typically ahead of what Ubuntu’s default repositories offer. This method integrates with your system’s package manager for automatic updates alongside other software.

Update your existing packages to avoid dependency conflicts:

sudo apt update && sudo apt upgrade

This guide uses sudo for commands that need root privileges. If your user is not in the sudoers file yet, run the commands as root or follow the guide on how to add and manage sudo users on Ubuntu.

Add the official Nextcloud stable PPA to your system:

sudo add-apt-repository ppa:nextcloud-devs/client -y

The add-apt-repository command automatically refreshes your package index after adding the PPA, so you can proceed directly to installation.

An alpha PPA (ppa:nextcloud-devs/client-alpha) is also available for testing the latest development builds. Only use this on non-production systems, as alpha releases may introduce breaking changes.

Install the Nextcloud Desktop Client:

sudo apt install nextcloud-desktop

Verify the installation by checking the installed package version:

apt-cache policy nextcloud-desktop

The output confirms the PPA version is installed and shows the source repository:

nextcloud-desktop:
  Installed: 4.0.6-20260122.174414.847472c1e7-1.0~noble1
  Candidate: 4.0.6-20260122.174414.847472c1e7-1.0~noble1
  Version table:
 *** 4.0.6-20260122.174414.847472c1e7-1.0~noble1 500
        500 https://ppa.launchpadcontent.net/nextcloud-devs/client/ubuntu noble/main amd64 Packages
        100 /var/lib/dpkg/status
     3.11.0-1.1build4 500
        500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages

For file manager overlay icons that show sync status, install the integration package for your desktop environment: sudo apt install nautilus-nextcloud for GNOME (default Ubuntu), dolphin-nextcloud for KDE Plasma, or caja-nextcloud for MATE.

Install Nextcloud Desktop via Flatpak

Flatpak provides sandboxed applications that run consistently across Ubuntu releases. This method delivers the same upstream version regardless of your Ubuntu version and isolates Nextcloud from your system libraries.

Flatpak is not pre-installed on Ubuntu. If you have not set it up yet, follow the Flatpak installation guide for Ubuntu to install the framework and add the Flathub repository; this typically takes under five minutes.

Add the Flathub repository if it is not already configured:

sudo flatpak remote-add --system --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

The --system flag installs the remote for all users on the machine, and --if-not-exists ensures the command succeeds even if Flathub is already configured.

Install the Nextcloud Desktop Client from Flathub:

sudo flatpak install --system flathub com.nextcloud.desktopclient.nextcloud -y

Verify the installation by listing installed Flatpak applications:

sudo flatpak list --system --app | grep -i nextcloud

The output confirms Nextcloud Desktop is installed at system scope:

Nextcloud Desktop Client    com.nextcloud.desktopclient.nextcloud    4.0.6    stable    system

Launch Nextcloud Desktop on Ubuntu

After installation, launch Nextcloud Desktop either from the terminal or through your desktop environment’s application menu.

For PPA installations:

nextcloud

For Flatpak installations:

flatpak run com.nextcloud.desktopclient.nextcloud

Alternatively, search for “Nextcloud” in your Activities overview and click the application icon:

Connect to Your Nextcloud Server

On first launch, Nextcloud Desktop prompts you to connect to your server. Enter your server URL, authenticate through the browser window that opens, then choose which folders to synchronize and where to store them locally. After authentication completes, synchronization begins automatically.

Manage Nextcloud Desktop on Ubuntu

Update Nextcloud Desktop

For PPA installations, update Nextcloud Desktop alongside your other packages:

sudo apt install --only-upgrade nextcloud-desktop

This upgrades only the Nextcloud Desktop package without affecting the rest of your system.

For Flatpak installations:

sudo flatpak update --system

Remove Nextcloud Desktop from Ubuntu

To remove a PPA installation, uninstall the package and clean up orphaned dependencies:

sudo apt remove nextcloud-desktop
sudo apt autoremove

Remove the PPA from your system so it no longer fetches packages from the Nextcloud repository:

sudo add-apt-repository --remove ppa:nextcloud-devs/client -y

Refresh the package index after removing the PPA:

sudo apt update

If you added the alpha PPA instead, replace the removal command with sudo add-apt-repository --remove ppa:nextcloud-devs/client-alpha -y. For more PPA management options, see the guide on removing a PPA from Ubuntu.

To remove a Flatpak installation:

sudo flatpak uninstall --system --delete-data com.nextcloud.desktopclient.nextcloud

The --delete-data flag removes Flatpak-sandboxed application data stored in ~/.var/app/com.nextcloud.desktopclient.nextcloud/. Your synchronized files in your local Nextcloud folder remain untouched.

Troubleshoot Nextcloud Desktop on Ubuntu

Nextcloud Desktop Does Not Sync Files

If synchronization stops or files are not appearing on the server, check the sync status from the Nextcloud Desktop tray icon. Right-click the icon and select “Open log window” to view recent activity. Common causes include authentication token expiration (re-authenticate through Account settings), network connectivity issues, or conflicting files that require manual resolution through the activity log.

Nextcloud Desktop Shows “Server Replied 403”

A 403 error typically means the server rejected the connection. Verify that your server URL is correct and that your account has not been disabled. If your server uses a self-signed certificate, you may need to accept it through the client’s settings under Network. Check your server administrator’s configuration if the issue persists.

Frequently Asked Questions

Is the Nextcloud Desktop Client free to use on Ubuntu?

Yes. Nextcloud Desktop Client is free and open-source software released under the GNU GPLv2 license. Both the PPA and Flatpak versions are free, though you need access to a Nextcloud server (self-hosted or provider-managed) to use the sync features.

What is the difference between the Nextcloud PPA and Ubuntu’s default repository version?

Ubuntu’s default repositories ship significantly older versions of Nextcloud Desktop Client. For example, Ubuntu 22.04 includes version 3.4.x while the PPA provides 4.0.x. The PPA tracks the latest stable upstream releases, which include newer sync engine improvements, UI changes, and security patches.

Can I switch from the PPA installation to Flatpak on Ubuntu?

Yes. Remove the PPA installation first with sudo apt remove nextcloud-desktop and sudo add-apt-repository --remove ppa:nextcloud-devs/client -y, then install the Flatpak version. Your synchronized files in your local Nextcloud folder are not affected by switching installation methods, though you will need to re-authenticate with your server.

Additional Nextcloud Desktop Resources

Conclusion

Nextcloud Desktop Client is running on your Ubuntu system with file synchronization configured through either the Nextcloud PPA or Flatpak. Both methods deliver the latest stable release across Ubuntu 26.04, 24.04, and 22.04, with automatic updates through their respective package managers. For transferring files to your Nextcloud server over FTP or SFTP, see FileZilla on Ubuntu. To self-host your own Nextcloud instance in containers, explore Docker on Ubuntu.

Search LinuxCapable

Need another guide?

Search LinuxCapable for package installs, commands, troubleshooting, and follow-up guides related to what you just read.

Found this guide useful?

Support LinuxCapable to keep tutorials free and up to date.

Buy me a coffee Buy me a coffee

Before commenting, please review our Comments Policy.
Formatting tips for your comment

You can use basic HTML to format your comment. Useful tags currently allowed:

You type Result
<code>command</code> command
<strong>bold</strong> bold
<em>italic</em> italic
<blockquote>quote</blockquote> quote block

Leave a Comment

We read and reply to every comment - let us know how we can help or improve this guide.

Let us know you are human: