Mar 03, 2023

8 min read

Installing and Configuring Nextcloud on Ubuntu 22.04

Written by

Abdelhadi Dyouri

Nextcloud is an open source platform that offers a modern content collaboration platform for managing your files, with capabilities such as real-time document editing, video chat & groupware on mobile, desktop and web. Nextcloud is similar to Dropbox and Google Drive, and was forked from the ownCloud open source software by some of the original ownCloud developers.

In this tutorial, you will install and configure Nextcloud on your Ubuntu 22.04 server.


Step1: Updating the Package Cache

Start by updating the packages in the package manager cache to the latest available versions using the following command:

sudo apt update

Step 2: Installing Nextcloud

To install Nextcloud, we can take advantage of the Snap packaging tool, which allows software organizations to publish software in a single package with all dependencies, configurations, and auto-updating features.

Run the following command to install the Nextcloud snap package:

sudo snap install nextcloud

This will download and install Nextcloud on your system, and you will receive an output similar to the following:

nextcloud 24.0.6snap1 from Nextcloud✓ installed

To confirm that the installation was successful, run the following command:

snap changes nextcloud

You should receive the following output:

ID   Status  Spawn               Ready               Summary

4    Done    today at 17:43 UTC  today at 17:43 UTC  Install "nextcloud" snap

For more information on the Nextcloud package, you can use the following command:

snap info nextcloud

This will give you information such as the publisher, contact information, commands, services, and other metrics.

Step 3: Configuring your Nextcloud Administrative Account

Although you can configure your Nextcloud admin account on the web interface, it is best to avoid making your unsecured Nextcloud configuration accessible on

Continue reading this article
by subscribing to our newsletter.
Subscribe now