owncloudcmd command not found

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

Introduction

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

owncloudcmd: command not found

or when using sudo you get the following error message

sudo: owncloudcmd: command not found

Solutions to owncloudcmd: command not found

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

In Ubuntu owncloudcmd is provided by owncloud-client-cmd package.

owncloud-client-cmd is:

The ownCloudSync system 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 ownCloud.

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

sudo apt-get -y install owncloud-client-cmd

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

You can also use apt command to install owncloud-client-cmd.

sudo apt -y install owncloud-client-cmd

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

sudo aptitude install owncloud-client-cmd

Summary

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