I have a small, headless, NFS- and PXEboot-server running on a Raspberry Pi 4 (Raspberry OS, bullseye, 64-bit). I need to run nextcloudcmd to synchronize files with my nextcloud instance. I can install nextcloud-desktop-cmd, but the extensive prereq chain means that I’ll need to install and maintain 141 packages! The entire server without nextcloudcmd only has 720 packages, so that would be a 20% increase for one command.
Some of the packages include x11-common, libxrandr2, libwayland-client0, and mesa-vulkan-drivers. These are all tools for graphical systems. I’m sure these are pulled in by other prereqs, but this seems really excessive for a command-line tool that does some basic network communication and some admittedly complex file synchronization.
Is there anything I can do to get a lighter-weight nextcloudcmd that only pulls in the libraries it really uses? Better, is there anything we can do to trim down nextcloud-desktop-cmd to just what it needs? I’ve only got a little server here. I don’t want to install and maintain a bunch of packages on it that aren’t really used.
Thanks in advance for any suggestions.