nextcloud command not found

In this troubleshooting guide we learn how to fix nextcloud command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nextcloud: command not found

or when using sudo you get the following error message

sudo: nextcloud: command not found

Solutions to nextcloud: command not found

How To Fix nextcloud: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nextcloud is provided by nextcloud-desktop package.

nextcloud-desktop is:

The Nextcloud desktop app lets you always have your latest files wherever you are. Just specify one or more folders on the local machine to and a server to synchronize to. You can configure more computers to synchronize to the same server and any change to the files on one computer will silently and reliably flow across to every other.

nextcloud-desktop provides the graphical client specialising in synchronizing with cloud storage provided by Nextcloud.

To fix this problem, we can install more using the command below.

sudo apt-get -y install nextcloud-desktop

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nextcloud-desktop.

sudo apt -y install nextcloud-desktop

Or if you have aptitude installed you can use the following command.

sudo aptitude install nextcloud-desktop

Summary

In this tutorial we learn how to fix nextcloud command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.