Must admit, my initial thoughts on ubuntu server that snaps would make it very easy to install certain services proved to be true, sudo snap install nextcloud, and bang, nextcloud is installed.
I guess its no good though if you dont like snaps, for something like next cloud though i wouldnt be bothered if its installed from a snap