As an alternative to installing Matomo manually, your web hosting provider might let you install Matomo in one click via one of these services:

You may also be interested in the Requirements to run Matomo.

Previous FAQ: How do I setup Auto-Archiving script to run using systemd on a Linux system instead of cron?