nextcloudcmd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nextcloudcmd: command not found
or when using sudo you get the following error message
sudo: nextcloudcmd: command not found
Solutions to nextcloudcmd: command not found
How To Fix nextcloudcmd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nextcloudcmd is provided by nextcloud-desktop-cmd package.
nextcloud-desktop-cmd 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.
This package provides the command line 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-cmd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nextcloud-desktop-cmd.
sudo apt -y install nextcloud-desktop-cmd
Or if you have aptitude installed you can use the following command.
sudo aptitude install nextcloud-desktop-cmd
Summary
In this tutorial we learn how to fix nextcloudcmd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.