The only reason I’m doing this is that I have an extra Raspberry Pi 3B(all IO ports are removed from the board) and I want it to be used, otherwise it will lose other Raspberry Pis’ respect.

The Installation is quite simple, due to the official guide(here), the only thing we need to do is install snap then use snap to install NextCloud. (There’s an another more complicated way to install NextCloud, I tried, then I failed. It’s just not worth it to me. If you want to do it anyway, you can see this article. For me, the reason I failed is I did not change the “server_name” in the nginx config file to my Pi’s IP.)

Run command

sudo apt update
sudo apt upgrade
sudo apt install snapd

then you have snap installed.

Snap is quite like Docker, but without containers and all the virtual stuff it has virtual stuff actually(I didn’t actually look into it, ignore it if I’m wrong). You can find the information about the differences here, and the relationship between snap and linux distros community here.

Run command

sudo snap install nextcloud

to install NextCloud.

NextCloud will run at default 80 port, type in your Pi’s IP in your browser then you are on the go.