Additionally to above threads you can also have a look at the setup steps of
https://raspibolt.org/. You will not need everything of and you may skip certain Raspi specific things along the setup. I have done this on an Ubuntu box and it works just fine.
A pruned blockchain will have its limitations on certain RPC commands, so it really depends on which things you're going to query.