The instructions for Matomo say it should take five minutes install. This assumes you already have PHP installed and working with nginx. Even so, five minutes is way off. I took all day (with a long break to fill some propane tanks and get lunch).
Here's my notes on it.I'm exasperated but not angry because I'm not surprised. If I were somehow don't-need-to-work rich, I'd probably still do most of my programming myself, but I would hire a dev ops/sysadmin kind of person to do this kind of crud.
And yeah, things you don't enjoy but need do take time. I just have to live with that.