The ownCloud documentation mentions a command line client owncloudcmd
which is supposed to be installed as part of the ownCloud Client package.
I have the owncloud-client
package from the official repositories installed on Ubuntu 18.04 (version 2.4.1). The GUI client works but I cannot find this owncloudcmd
executable.
Does anybody know why the Ubuntu package doesn't contain owncloudcmd
, and how I can install it?
They split the package in two:
owncloud-client
holds the GUI programowncloud
whileowncloud-client-cmd
holds the CLI programowncloudcmd
The latter doesn’t depend on the GUI program, which probably is why they split the two – on a headless system you don’t need the GUI, so no need to install it. To use
owncloudcmd
you just need to install the aforementioned package:On Ubuntu 18.04 this installs version 2.4.1 of the program. If for any reason you need the current version 2.4.2 and/or updates to the current version at any time, I recommend installing the Ubuntu PPA from software.opensuse.org. Follow these steps to set it up and install the package (I simplified this a bit):
Remove the repository package (you may skip this step if you didn’t install it):
Add the repository:
Add the repository key:
Update the sources and install the newest package version available. As the PPA‘s version is newer, this ignores the official repository’s
owncloud-client
package:After this
owncloud
and most notablyowncloudcmd
work out of the box: